Test duration : 59.770s
Failed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 58.614s |
2022-09-06 23:02:23 |
java.lang.AssertionError: User: admin@test-domain.com should have received message: f7si6e0208 expected [true] but found [false]
2022-09-06 23:02:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-06 23:02:23 | ------------------------------------ 2022-09-06 23:02:23 | [Mutex] isItemNotified: node_1s05o60204:exists :: false 2022-09-06 23:02:23 | [Mutex] waiting for: [node_1s05o60204:create_node] 2022-09-06 23:02:23 | [Mutex] waiting for: [node_1s05o60204:create_node] 2022-09-06 23:02:23 | [Mutex] received everything. 2022-09-06 23:02:23 | [Mutex] isItemNotified: node_1s05o60204:create_node:success :: true 2022-09-06 23:02:23 | [Mutex] waiting for: [node_1s05o60204:subscribe_node] 2022-09-06 23:02:23 | [Mutex] received everything. 2022-09-06 23:02:23 | [Mutex] isItemNotified: node_1s05o60204:subscribe_node:success :: true 2022-09-06 23:02:23 | ===== publishing normal message (to online) 2022-09-06 23:02:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-06 23:02:23 | command: <data><node>node_1s05o60204</node><entry><content>content_ibn98m0205</content></entry></data> 2022-09-06 23:02:23 | target: http://localhost:8088 2022-09-06 23:02:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-06 23:02:23 | entity: <data><node>node_1s05o60204</node><entry><content>content_ibn98m0205</content></entry></data> 2022-09-06 23:02:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:02:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-06 23:02:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>06635dcc-255b-4609-9aed-a3f305d09d61</value></item-id></result> 2022-09-06 23:02:23 | contains: true 2022-09-06 23:02:23 | [Mutex] waiting for: [user_regularypbe850203@test-domain.com:message:received:content_ibn98m0205] 2022-09-06 23:02:23 | [Mutex] received everything. 2022-09-06 23:02:23 | [Mutex] isItemNotified: user_regularypbe850203@test-domain.com:message:received:content_ibn98m0205 :: true 2022-09-06 23:02:23 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-06 23:02:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-06 23:02:23 | command: <data><node>node_1s05o60204</node><expire-at>2022-09-07T06:02:18Z</expire-at><entry><content>content_sw56bd0206</content></entry></data> 2022-09-06 23:02:23 | target: http://localhost:8088 2022-09-06 23:02:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-06 23:02:23 | entity: <data><node>node_1s05o60204</node><expire-at>2022-09-07T06:02:18Z</expire-at><entry><content>content_sw56bd0206</content></entry></data> 2022-09-06 23:02:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:02:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-06 23:02:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b2a82e4e-ca5c-4f39-95ab-208000f216ee</value></item-id></result> 2022-09-06 23:02:23 | contains: true 2022-09-06 23:02:23 | [Mutex] waiting for: [user_regularypbe850203@test-domain.com:message:received:content_sw56bd0206] 2022-09-06 23:02:38 | [Mutex] timeout. Not received [user_regularypbe850203@test-domain.com:message:received:content_sw56bd0206] 2022-09-06 23:02:38 | [Mutex] isItemNotified: user_regularypbe850203@test-domain.com:message:received:content_sw56bd0206 :: false 2022-09-06 23:02:38 | ===== publishing normal message (to offline) 2022-09-06 23:02:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-06 23:02:38 | command: <data><node>node_1s05o60204</node><entry><content>content_3pyvaj0207</content></entry></data> 2022-09-06 23:02:38 | target: http://localhost:8088 2022-09-06 23:02:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-06 23:02:38 | entity: <data><node>node_1s05o60204</node><entry><content>content_3pyvaj0207</content></entry></data> 2022-09-06 23:02:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:02:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-06 23:02:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a261a903-b9ab-49ce-ba2c-485d049f5b29</value></item-id></result> 2022-09-06 23:02:38 | contains: true 2022-09-06 23:02:43 | [Mutex] waiting for: [user_regularypbe850203@test-domain.com:message:received:content_3pyvaj0207] 2022-09-06 23:02:43 | [Mutex] received everything. 2022-09-06 23:02:43 | [Mutex] isItemNotified: user_regularypbe850203@test-domain.com:message:received:content_3pyvaj0207 :: true 2022-09-06 23:02:43 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-06 23:02:43 | [Mutex] received everything. 2022-09-06 23:02:43 | [Mutex] isItemNotified: node_1s05o60204:subscribe_node:success :: true 2022-09-06 23:02:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-06 23:02:43 | command: <data><node>node_1s05o60204</node><expire-at>2022-09-07T06:02:48Z</expire-at><entry><content>content_f7si6e0208</content></entry></data> 2022-09-06 23:02:43 | target: http://localhost:8088 2022-09-06 23:02:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-06 23:02:43 | entity: <data><node>node_1s05o60204</node><expire-at>2022-09-07T06:02:48Z</expire-at><entry><content>content_f7si6e0208</content></entry></data> 2022-09-06 23:02:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:02:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-06 23:02:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7c415901-c8a0-4a21-9bf6-720479407923</value></item-id></result> 2022-09-06 23:02:43 | contains: true 2022-09-06 23:02:51 | [Mutex] waiting for: [user_regularypbe850203@test-domain.com:message:received:content_f7si6e0208] 2022-09-06 23:02:51 | [Mutex] waiting for: [user_regularypbe850203@test-domain.com:message:received:content_f7si6e0208] 2022-09-06 23:03:06 | [Mutex] timeout. Not received [user_regularypbe850203@test-domain.com:message:received:content_f7si6e0208] 2022-09-06 23:03:06 | [Mutex] waiting for: [admin@test-domain.com:message:received:content_f7si6e0208] 2022-09-06 23:03:21 | [Mutex] timeout. Not received [admin@test-domain.com:message:received:content_f7si6e0208] 2022-09-06 23:03:21 | [Mutex] isItemNotified: user_regularypbe850203@test-domain.com:message:received:content_f7si6e0208 :: false 2022-09-06 23:03:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f7si6e0208 :: false
org.testng.Assert.fail(Assert.java:110)
org.testng.Assert.failNotEquals(Assert.java:1413) org.testng.Assert.assertTrue(Assert.java:56) tigase.tests.pubsub.TestRestApiWithMessageExpiration.testMessageExpiration(TestRestApiWithMessageExpiration.java:180) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:568) org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135) org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:673) org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:220) org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50) org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:945) org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:193) org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) java.base/java.util.ArrayList.forEach(ArrayList.java:1511) org.testng.TestRunner.privateRun(TestRunner.java:808) org.testng.TestRunner.run(TestRunner.java:603) org.testng.SuiteRunner.runTest(SuiteRunner.java:429) org.testng.SuiteRunner.runSequentially(SuiteRunner.java:423) org.testng.SuiteRunner.privateRun(SuiteRunner.java:383) org.testng.SuiteRunner.run(SuiteRunner.java:326) org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) org.testng.TestNG.runSuitesSequentially(TestNG.java:1249) org.testng.TestNG.runSuitesLocally(TestNG.java:1169) org.testng.TestNG.runSuites(TestNG.java:1092) org.testng.TestNG.run(TestNG.java:1060) org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283) org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75) org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120) org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) |