Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2016-02-09 04:19:21 -0500
committerEike Stepper2016-02-09 04:19:21 -0500
commit2b19b9799188f2399baff63ad8a742ab1561b3e9 (patch)
treeef1e45cf8dc0d351fa3b313df2435e1b2b9e0050 /plugins/org.eclipse.net4j.tests/src/org
parent3161838c989d7ebfc009eded4ac95698bb2a70a4 (diff)
downloadcdo-2b19b9799188f2399baff63ad8a742ab1561b3e9.tar.gz
cdo-2b19b9799188f2399baff63ad8a742ab1561b3e9.tar.xz
cdo-2b19b9799188f2399baff63ad8a742ab1561b3e9.zip
[485487] Network timeouts can lead to incorrect rollback and stuck session/transaction
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485487
Diffstat (limited to 'plugins/org.eclipse.net4j.tests/src/org')
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java15
1 files changed, 4 insertions, 11 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
index 29758f5a5a..721ca97508 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
@@ -183,13 +183,8 @@ public abstract class AbstractOMTest extends TestCase
if (!SUPPRESS_OUTPUT)
{
- IOUtil.OUT().println("*******************************************************"); //$NON-NLS-1$
- Thread.yield();
- Thread.sleep(2L);
- IOUtil.ERR().println(this);
- Thread.yield();
- Thread.sleep(2L);
- IOUtil.OUT().println("*******************************************************"); //$NON-NLS-1$
+ IOUtil.ERR().println("*******************************************************\n" + this //$NON-NLS-1$
+ + "\n*******************************************************"); //$NON-NLS-1$
}
if (!logSetUpAndTearDown())
@@ -202,8 +197,7 @@ public abstract class AbstractOMTest extends TestCase
if (!SUPPRESS_OUTPUT && logSetUpAndTearDown())
{
- IOUtil.OUT().println();
- IOUtil.OUT().println("------------------------ START ------------------------"); //$NON-NLS-1$
+ IOUtil.OUT().println("\n------------------------ START ------------------------"); //$NON-NLS-1$
}
enableConsole();
@@ -223,8 +217,7 @@ public abstract class AbstractOMTest extends TestCase
if (!SUPPRESS_OUTPUT && logSetUpAndTearDown())
{
- IOUtil.OUT().println("------------------------- END -------------------------"); //$NON-NLS-1$
- IOUtil.OUT().println();
+ IOUtil.OUT().println("------------------------- END -------------------------\n"); //$NON-NLS-1$
}
try

Back to the top