Skip to content
Snippets Groups Projects
Commit dd4508d8 authored by juanf's avatar juanf
Browse files

SP-700 SWE-28: Flaky test fix - Grandma Debugging 2.

SVN: 29343
parent a2ce1003
No related branches found
No related tags found
No related merge requests found
...@@ -152,6 +152,7 @@ public class InactivityMonitorTest ...@@ -152,6 +152,7 @@ public class InactivityMonitorTest
@Test(retryAnalyzer = Retry10.class) @Test(retryAnalyzer = Retry10.class)
public void testHappyCase() throws Throwable public void testHappyCase() throws Throwable
{ {
System.out.println("InactivityMonitor - testHappyCase - Retry");
context.checking(new Expectations() context.checking(new Expectations()
{ {
{ {
...@@ -171,6 +172,7 @@ public class InactivityMonitorTest ...@@ -171,6 +172,7 @@ public class InactivityMonitorTest
@Test(retryAnalyzer = Retry10.class) @Test(retryAnalyzer = Retry10.class)
public void testInactivity() throws Throwable public void testInactivity() throws Throwable
{ {
System.out.println("InactivityMonitor - testInactivity - Retry");
final String descriptionOfInactivity = "DESCRIPTION"; final String descriptionOfInactivity = "DESCRIPTION";
context.checking(new Expectations() context.checking(new Expectations()
{ {
...@@ -195,7 +197,7 @@ public class InactivityMonitorTest ...@@ -195,7 +197,7 @@ public class InactivityMonitorTest
@Test(groups = "slow", retryAnalyzer = Retry10.class) @Test(groups = "slow", retryAnalyzer = Retry10.class)
public void testInactivityMultipleTimes() throws Throwable public void testInactivityMultipleTimes() throws Throwable
{ {
System.out.println("InactivityMonitory - testInactivityMultipleTimes - Retry"); System.out.println("InactivityMonitor - testInactivityMultipleTimes - Retry");
// Wait for system to become quiet to get more accurate measurement. // Wait for system to become quiet to get more accurate measurement.
ConcurrencyUtilities.sleep(300L); ConcurrencyUtilities.sleep(300L);
final String descriptionOfInactivity = "DESCRIPTION"; final String descriptionOfInactivity = "DESCRIPTION";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment