Skip to content

Commit

Permalink
Revert "[WFCORE-6141] Fixing transient test failures" - it was fixed …
Browse files Browse the repository at this point in the history
…by WFCORE-6156

This reverts commit 0ef150f.
  • Loading branch information
ropalka committed Dec 7, 2022
1 parent 4d87a0c commit 21d0e80
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void testOtherService() throws Exception {

Assert.assertNotNull(services.getContainer().getService(OtherService.NAME));
Assert.assertNotNull(services.getContainer().getService(MyService.NAME));
MyService myService = (MyService)services.getContainer().getService(MyService.NAME).awaitValue();
MyService myService = (MyService)services.getContainer().getService(MyService.NAME).getValue();
Assert.assertNotNull(myService.otherValue.getValue());
}

Expand Down Expand Up @@ -144,7 +144,7 @@ public void testPortOffsetZero() throws Exception {

ServiceController<?> controller = services.getContainer().getService(SocketBindingUserService.NAME);
Assert.assertNotNull(controller);
SocketBindingUserService service = (SocketBindingUserService)controller.awaitValue();
SocketBindingUserService service = (SocketBindingUserService)controller.getValue();
SocketBinding socketBinding = service.socketBindingValue.getValue();
Assert.assertEquals(8000, socketBinding.getSocketBindings().getPortOffset());
Assert.assertFalse("fixed port", socketBinding.isFixedPort());
Expand Down Expand Up @@ -189,7 +189,7 @@ public void testSocketBinding() throws Exception {

ServiceController<?> controller = services.getContainer().getService(SocketBindingUserService.NAME);
Assert.assertNotNull(controller);
SocketBindingUserService service = (SocketBindingUserService)controller.awaitValue();
SocketBindingUserService service = (SocketBindingUserService)controller.getValue();
SocketBinding socketBinding = service.socketBindingValue.getValue();
Assert.assertEquals(234, socketBinding.getPort());
Assert.assertEquals("127.0.0.1", socketBinding.getAddress().getHostAddress());
Expand Down Expand Up @@ -226,7 +226,7 @@ public void testPath() throws Exception {

ServiceController<?> controller = services.getContainer().getService(PathUserService.NAME);
Assert.assertNotNull(controller);
PathUserService service = (PathUserService)controller.awaitValue();
PathUserService service = (PathUserService)controller.getValue();
Assert.assertEquals(new File(".", "target").getAbsolutePath(), service.pathValue.getValue());
}

Expand Down

0 comments on commit 21d0e80

Please sign in to comment.