Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2013-07-29 16:54:26 -0400
committerJohn Arthorne2013-07-29 16:54:26 -0400
commit2cdf6f018a5ac4d615fb3ba6e01eba5d00c28f9c (patch)
tree85c30ffb722a6d981d8140ddc9af4ce9fc18d687 /bundles/org.eclipse.equinox.p2.tests
parent813571a1d11fa872da25cbd10c9906fa262ec382 (diff)
downloadrt.equinox.p2-2cdf6f018a5ac4d615fb3ba6e01eba5d00c28f9c.tar.gz
rt.equinox.p2-2cdf6f018a5ac4d615fb3ba6e01eba5d00c28f9c.tar.xz
rt.equinox.p2-2cdf6f018a5ac4d615fb3ba6e01eba5d00c28f9c.zip
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/PhaseSetTest.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/PhaseSetTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/PhaseSetTest.java
index 89d54a89a..0117d6c45 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/PhaseSetTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/PhaseSetTest.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2012 IBM Corporation and others.
+ * Copyright (c) 2007, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -118,13 +118,11 @@ public class PhaseSetTest extends AbstractProvisioningTest {
} catch (InterruptedException e) {
e.printStackTrace();
}
- System.out.println(new Date() + " -- paused provisioning.");
setPause(true);
resume = new Job("resume") {
@Override
protected IStatus run(IProgressMonitor monitor1) {
pause.setPause(false);
- System.out.println(new Date() + " -- will resume provisioning.");
if (!phaseSet.resume())
return new Status(IStatus.ERROR, TestActivator.PI_PROV_TESTS, "resume() failed.");
return Status.OK_STATUS;
@@ -156,10 +154,8 @@ public class PhaseSetTest extends AbstractProvisioningTest {
// make sure to pause downloading after it has started
pauseJob.schedule();
canStart = false;
- System.out.println(new Date() + " -- scheduled immediate pause job.");
return;
}
- System.out.println(new Date() + " -- recive event " + o.getClass().getName());
if (o instanceof CommitOperationEvent || o instanceof RollbackOperationEvent) {
latch.countDown();
pauseJob.cancel();
@@ -238,7 +234,6 @@ public class PhaseSetTest extends AbstractProvisioningTest {
@Override
protected IStatus run(IProgressMonitor monitor) {
pauseJob.setPause(false);
- System.out.println(new Date() + " -- resume provisioning.");
if (!phaseSet.resume())
return new Status(IStatus.INFO, TestActivator.PI_PROV_TESTS, "resume() failed.");
if (count++ < threhold)
@@ -255,7 +250,6 @@ public class PhaseSetTest extends AbstractProvisioningTest {
} catch (InterruptedException e) {
e.printStackTrace();
}
- System.out.println(new Date() + " -- paused provisioning.");
setPause(true);
if (resume == null)
resume = new ResumeJob("resume", this);
@@ -300,7 +294,6 @@ public class PhaseSetTest extends AbstractProvisioningTest {
} catch (InterruptedException e) {
e.printStackTrace();
}
- System.out.println(new Date() + " -- paused provisioning.");
// wait seconds
try {
Thread.sleep(2000);

Back to the top