Test duration : 60.472s
Failed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 58.700s |
2021-09-28 23:15:11 |
java.lang.AssertionError: User: admin@test-domain.com should have received message: kst5n80207 expected [true] but found [false]
2021-09-28 23:15:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-28 23:15:11 | ------------------------------------ 2021-09-28 23:15:11 | [Mutex] isItemNotified: node_oieez50203:exists :: false 2021-09-28 23:15:11 | [Mutex] waiting for: [node_oieez50203:create_node] 2021-09-28 23:15:11 | [Mutex] received everything. 2021-09-28 23:15:11 | [Mutex] isItemNotified: node_oieez50203:create_node:success :: true 2021-09-28 23:15:11 | [Mutex] waiting for: [node_oieez50203:subscribe_node] 2021-09-28 23:15:11 | [Mutex] waiting for: [node_oieez50203:subscribe_node] 2021-09-28 23:15:11 | [Mutex] received everything. 2021-09-28 23:15:11 | [Mutex] isItemNotified: node_oieez50203:subscribe_node:success :: true 2021-09-28 23:15:11 | ===== publishing normal message (to online) 2021-09-28 23:15:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 23:15:11 | command: <data><node>node_oieez50203</node><entry><content>content_o09ye60204</content></entry></data> 2021-09-28 23:15:11 | target: http://localhost:8088 2021-09-28 23:15:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-28 23:15:11 | entity: <data><node>node_oieez50203</node><entry><content>content_o09ye60204</content></entry></data> 2021-09-28 23:15:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 06:15:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 23:15:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>432aba1f-313a-4be6-8d24-3cfd232f0db8</value></item-id></result> 2021-09-28 23:15:11 | contains: true 2021-09-28 23:15:11 | [Mutex] received everything. 2021-09-28 23:15:11 | [Mutex] isItemNotified: user_regularuafhqr0202@test-domain.com:message:received:content_o09ye60204 :: true 2021-09-28 23:15:11 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-28 23:15:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 23:15:11 | command: <data><node>node_oieez50203</node><expire-at>2021-09-29T06:15:06Z</expire-at><entry><content>content_lx96ym0205</content></entry></data> 2021-09-28 23:15:11 | target: http://localhost:8088 2021-09-28 23:15:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-28 23:15:11 | entity: <data><node>node_oieez50203</node><expire-at>2021-09-29T06:15:06Z</expire-at><entry><content>content_lx96ym0205</content></entry></data> 2021-09-28 23:15:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 06:15:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 23:15:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fb79ad61-b302-46d2-9d8d-89b3710bed43</value></item-id></result> 2021-09-28 23:15:11 | contains: true 2021-09-28 23:15:11 | [Mutex] waiting for: [user_regularuafhqr0202@test-domain.com:message:received:content_lx96ym0205] 2021-09-28 23:15:26 | [Mutex] timeout. Not received [user_regularuafhqr0202@test-domain.com:message:received:content_lx96ym0205] 2021-09-28 23:15:26 | [Mutex] isItemNotified: user_regularuafhqr0202@test-domain.com:message:received:content_lx96ym0205 :: false 2021-09-28 23:15:26 | ===== publishing normal message (to offline) 2021-09-28 23:15:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 23:15:26 | command: <data><node>node_oieez50203</node><entry><content>content_e4f8wq0206</content></entry></data> 2021-09-28 23:15:26 | target: http://localhost:8088 2021-09-28 23:15:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-28 23:15:26 | entity: <data><node>node_oieez50203</node><entry><content>content_e4f8wq0206</content></entry></data> 2021-09-28 23:15:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 06:15:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 23:15:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0d158566-9fbc-460c-897b-4f1f4c6f4e19</value></item-id></result> 2021-09-28 23:15:26 | contains: true 2021-09-28 23:15:31 | [Mutex] waiting for: [user_regularuafhqr0202@test-domain.com:message:received:content_e4f8wq0206] 2021-09-28 23:15:31 | [Mutex] waiting for: [user_regularuafhqr0202@test-domain.com:message:received:content_e4f8wq0206] 2021-09-28 23:15:31 | [Mutex] received everything. 2021-09-28 23:15:31 | [Mutex] isItemNotified: user_regularuafhqr0202@test-domain.com:message:received:content_e4f8wq0206 :: true 2021-09-28 23:15:31 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-28 23:15:31 | [Mutex] received everything. 2021-09-28 23:15:31 | [Mutex] isItemNotified: node_oieez50203:subscribe_node:success :: true 2021-09-28 23:15:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 23:15:31 | command: <data><node>node_oieez50203</node><expire-at>2021-09-29T06:15:36Z</expire-at><entry><content>content_kst5n80207</content></entry></data> 2021-09-28 23:15:31 | target: http://localhost:8088 2021-09-28 23:15:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-28 23:15:31 | entity: <data><node>node_oieez50203</node><expire-at>2021-09-29T06:15:36Z</expire-at><entry><content>content_kst5n80207</content></entry></data> 2021-09-28 23:15:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 06:15:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 23:15:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1ef1693e-b2c2-4ece-b165-dd3909c51872</value></item-id></result> 2021-09-28 23:15:31 | contains: true 2021-09-28 23:15:39 | [Mutex] waiting for: [user_regularuafhqr0202@test-domain.com:message:received:content_kst5n80207] 2021-09-28 23:15:39 | [Mutex] waiting for: [user_regularuafhqr0202@test-domain.com:message:received:content_kst5n80207] 2021-09-28 23:15:39 | [Mutex] waiting for: [user_regularuafhqr0202@test-domain.com:message:received:content_kst5n80207] 2021-09-28 23:15:54 | [Mutex] timeout. Not received [user_regularuafhqr0202@test-domain.com:message:received:content_kst5n80207] 2021-09-28 23:15:54 | [Mutex] waiting for: [admin@test-domain.com:message:received:content_kst5n80207] 2021-09-28 23:16:09 | [Mutex] timeout. Not received [admin@test-domain.com:message:received:content_kst5n80207] 2021-09-28 23:16:09 | [Mutex] isItemNotified: user_regularuafhqr0202@test-domain.com:message:received:content_kst5n80207 :: false 2021-09-28 23:16:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kst5n80207 :: false
org.testng.Assert.fail(Assert.java:99)
org.testng.Assert.failNotEquals(Assert.java:1037) org.testng.Assert.assertTrue(Assert.java:45) 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:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132) org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599) org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174) org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46) org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822) org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147) org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128) java.base/java.util.ArrayList.forEach(ArrayList.java:1541) org.testng.TestRunner.privateRun(TestRunner.java:764) org.testng.TestRunner.run(TestRunner.java:585) org.testng.SuiteRunner.runTest(SuiteRunner.java:384) org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) org.testng.SuiteRunner.run(SuiteRunner.java:286) org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) org.testng.TestNG.runSuitesSequentially(TestNG.java:1218) org.testng.TestNG.runSuitesLocally(TestNG.java:1140) org.testng.TestNG.runSuites(TestNG.java:1069) org.testng.TestNG.run(TestNG.java:1037) 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) |