Test duration : 60.529s
Failed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 58.589s |
2022-02-09 22:16:27 |
java.lang.AssertionError: User: admin@test-domain.com should have received message: h97xll0207 expected [true] but found [false]
2022-02-09 22:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-09 22:16:27 | ------------------------------------ 2022-02-09 22:16:27 | [Mutex] isItemNotified: node_y1e6f00203:exists :: false 2022-02-09 22:16:27 | [Mutex] waiting for: [node_y1e6f00203:create_node] 2022-02-09 22:16:27 | [Mutex] received everything. 2022-02-09 22:16:27 | [Mutex] isItemNotified: node_y1e6f00203:create_node:success :: true 2022-02-09 22:16:27 | [Mutex] waiting for: [node_y1e6f00203:subscribe_node] 2022-02-09 22:16:27 | [Mutex] waiting for: [node_y1e6f00203:subscribe_node] 2022-02-09 22:16:27 | [Mutex] received everything. 2022-02-09 22:16:27 | [Mutex] isItemNotified: node_y1e6f00203:subscribe_node:success :: true 2022-02-09 22:16:27 | ===== publishing normal message (to online) 2022-02-09 22:16:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 22:16:27 | command: <data><node>node_y1e6f00203</node><entry><content>content_uomy7y0204</content></entry></data> 2022-02-09 22:16:27 | target: http://localhost:8088 2022-02-09 22:16:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-09 22:16:27 | entity: <data><node>node_y1e6f00203</node><entry><content>content_uomy7y0204</content></entry></data> 2022-02-09 22:16:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:16:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 22:16:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7fa8057a-8b5d-4f04-b21e-4c58ef233284</value></item-id></result> 2022-02-09 22:16:27 | contains: true 2022-02-09 22:16:27 | [Mutex] waiting for: [user_regular8ozuow0202@test-domain.com:message:received:content_uomy7y0204] 2022-02-09 22:16:27 | [Mutex] received everything. 2022-02-09 22:16:27 | [Mutex] isItemNotified: user_regular8ozuow0202@test-domain.com:message:received:content_uomy7y0204 :: true 2022-02-09 22:16:27 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-09 22:16:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 22:16:27 | command: <data><node>node_y1e6f00203</node><expire-at>2022-02-10T06:16:22Z</expire-at><entry><content>content_k67bw00205</content></entry></data> 2022-02-09 22:16:27 | target: http://localhost:8088 2022-02-09 22:16:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-09 22:16:27 | entity: <data><node>node_y1e6f00203</node><expire-at>2022-02-10T06:16:22Z</expire-at><entry><content>content_k67bw00205</content></entry></data> 2022-02-09 22:16:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:16:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 22:16:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5e4dc304-9002-45b4-add0-b84d5747da91</value></item-id></result> 2022-02-09 22:16:27 | contains: true 2022-02-09 22:16:27 | [Mutex] waiting for: [user_regular8ozuow0202@test-domain.com:message:received:content_k67bw00205] 2022-02-09 22:16:42 | [Mutex] timeout. Not received [user_regular8ozuow0202@test-domain.com:message:received:content_k67bw00205] 2022-02-09 22:16:42 | [Mutex] isItemNotified: user_regular8ozuow0202@test-domain.com:message:received:content_k67bw00205 :: false 2022-02-09 22:16:42 | ===== publishing normal message (to offline) 2022-02-09 22:16:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 22:16:42 | command: <data><node>node_y1e6f00203</node><entry><content>content_u2lrh10206</content></entry></data> 2022-02-09 22:16:42 | target: http://localhost:8088 2022-02-09 22:16:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-09 22:16:42 | entity: <data><node>node_y1e6f00203</node><entry><content>content_u2lrh10206</content></entry></data> 2022-02-09 22:16:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:16:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 22:16:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5b90ad1a-dec9-4f35-a819-eb2fc5f67670</value></item-id></result> 2022-02-09 22:16:42 | contains: true 2022-02-09 22:16:47 | [Mutex] waiting for: [user_regular8ozuow0202@test-domain.com:message:received:content_u2lrh10206] 2022-02-09 22:16:47 | [Mutex] waiting for: [user_regular8ozuow0202@test-domain.com:message:received:content_u2lrh10206] 2022-02-09 22:16:47 | [Mutex] received everything. 2022-02-09 22:16:47 | [Mutex] isItemNotified: user_regular8ozuow0202@test-domain.com:message:received:content_u2lrh10206 :: true 2022-02-09 22:16:47 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-09 22:16:47 | [Mutex] received everything. 2022-02-09 22:16:47 | [Mutex] isItemNotified: node_y1e6f00203:subscribe_node:success :: true 2022-02-09 22:16:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 22:16:47 | command: <data><node>node_y1e6f00203</node><expire-at>2022-02-10T06:16:52Z</expire-at><entry><content>content_h97xll0207</content></entry></data> 2022-02-09 22:16:47 | target: http://localhost:8088 2022-02-09 22:16:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-09 22:16:47 | entity: <data><node>node_y1e6f00203</node><expire-at>2022-02-10T06:16:52Z</expire-at><entry><content>content_h97xll0207</content></entry></data> 2022-02-09 22:16:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:16:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 22:16:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>172fd3b0-c176-4c37-8163-deb994c97aad</value></item-id></result> 2022-02-09 22:16:47 | contains: true 2022-02-09 22:16:56 | [Mutex] waiting for: [user_regular8ozuow0202@test-domain.com:message:received:content_h97xll0207] 2022-02-09 22:16:56 | [Mutex] waiting for: [user_regular8ozuow0202@test-domain.com:message:received:content_h97xll0207] 2022-02-09 22:17:11 | [Mutex] timeout. Not received [user_regular8ozuow0202@test-domain.com:message:received:content_h97xll0207] 2022-02-09 22:17:11 | [Mutex] waiting for: [admin@test-domain.com:message:received:content_h97xll0207] 2022-02-09 22:17:26 | [Mutex] timeout. Not received [admin@test-domain.com:message:received:content_h97xll0207] 2022-02-09 22:17:26 | [Mutex] isItemNotified: user_regular8ozuow0202@test-domain.com:message:received:content_h97xll0207 :: false 2022-02-09 22:17:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_h97xll0207 :: 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) |