Skip to content

Commit

Permalink
more println to test hanging build
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-actoron committed Jan 14, 2021
1 parent 4176ddc commit cfb28b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ jadex-platform-standalone-launch/highscore.dmp
/broken build 1
/broken build 2
/broken build 3
/broken build 4 (hang)
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,13 @@ public void testServices()
// 8) kill SP, search for service -> test if re-fallback to awa works
System.out.println("8) kill SP, search for service");
removePlatform(sp);
System.out.println("8a");
waitALittle(client);
System.out.println("8b");
waitALittle(client); // two waits for disconnection, because contimeout = 2* WAITFACTOR
System.out.println("8c");
result = client.searchServices(new ServiceQuery<>(ITestService.class, ServiceScope.GLOBAL)).get();
System.out.println("8d");
Assert.assertEquals(""+result, awa?1:0, result.size());
}
}
Expand Down

0 comments on commit cfb28b0

Please sign in to comment.