No sql #537
13 passed, 35 failed and 14 skipped
❌ openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.BaseMongoUnitTest.xml
9 tests were completed in 218ms with 6 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.github.openmaqs.nosql.BaseMongoUnitTest | 6✔️ | 3❌ | 218ms |
❌ io.github.openmaqs.nosql.BaseMongoUnitTest
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
✔️ openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBConfigUnitTest.xml
4 tests were completed in 4ms with 4 passed, 0 failed and 0 skipped.
❌ openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBDriverUnitTest.xml
11 tests were completed in 70ms with 0 passed, 6 failed and 5 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.github.openmaqs.nosql.MongoDBDriverUnitTest | 6❌ | 5✖️ | 70ms |
❌ io.github.openmaqs.nosql.MongoDBDriverUnitTest
❌ testCountAllItemsInCollection
java.lang.IllegalStateException: state should be: open
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.xml
8 tests were completed in 3s with 0 passed, 8 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.github.openmaqs.nosql.MongoDBFunctionalUnitTest | 8❌ | 3s |
❌ io.github.openmaqs.nosql.MongoDBFunctionalUnitTest
❌ testMongoGetLoginID
java.lang.IllegalStateException: state should be: open
❌ testMongoFindListWithKey
java.lang.IllegalStateException: state should be: open
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ testMongoLinqQuery
java.lang.IllegalStateException: state should be: open
❌ testMongoQueryAndReturnFirst
java.lang.IllegalStateException: state should be: open
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
20 tests were completed in 307ms with 2 passed, 13 failed and 5 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.github.openmaqs.nosql.MongoDriverManagerUnitTest | 2✔️ | 13❌ | 5✖️ | 307ms |
❌ io.github.openmaqs.nosql.MongoDriverManagerUnitTest
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ respectCollectionOverrideInBase
java.lang.AssertionError: expected [com.mongodb.client.internal.MongoCollectionImpl@b8440e1] but found [com.mongodb.client.internal.MongoCollectionImpl@886051f]
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ respectCollectionOverride
java.lang.AssertionError: expected [com.mongodb.client.internal.MongoCollectionImpl@c9a0599] but found [com.mongodb.client.internal.MongoCollectionImpl@6d41a2c8]
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ RespectConnectionStingsOverrideInBase
java.lang.AssertionError: did not expect [com.mongodb.client.internal.MongoCollectionImpl@79e886ea] but found [com.mongodb.client.internal.MongoCollectionImpl@79e886ea]
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoTestObjectUnitTest.xml
10 tests were completed in 634ms with 1 passed, 5 failed and 4 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.github.openmaqs.nosql.MongoTestObjectUnitTest | 1✔️ | 5❌ | 4✖️ | 634ms |
❌ io.github.openmaqs.nosql.MongoTestObjectUnitTest
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
❌ teardown
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
Annotations
Check failure on line 294 in openmaqs-base/src/main/java/io/github/openmaqs/base/BaseTest.java
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.BaseMongoUnitTest ► teardown
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.BaseMongoUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.BaseMongoUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.BaseMongoUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoTestObjectUnitTest.xml
Error:
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
Raw output
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
at io.github.openmaqs.base.BaseTest.teardown(BaseTest.java:294)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:390)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:325)
at org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:810)
at org.testng.internal.invokers.TestInvoker.runAfterConfigurations(TestInvoker.java:779)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:755)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: io.github.openmaqs.base.exceptions.DriverDisposalException: Unable to properly dispose of driver
at io.github.openmaqs.base.BaseTestObject.close(BaseTestObject.java:280)
at io.github.openmaqs.base.ConcurrentManagerHashMap.closeForKey(ConcurrentManagerHashMap.java:85)
at io.github.openmaqs.base.ConcurrentManagerHashMap.remove(ConcurrentManagerHashMap.java:23)
at io.github.openmaqs.base.BaseTest.teardown(BaseTest.java:292)
... 20 more
Caused by: java.lang.NullPointerException
at io.github.openmaqs.nosql.MongoDriverManager.close(MongoDriverManager.java:105)
at io.github.openmaqs.base.BaseTestObject.close(BaseTestObject.java:278)
... 23 more
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.MongoDBDriverUnitTest ► testCountAllItemsInCollection
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBDriverUnitTest.xml
Error:
java.lang.IllegalStateException: state should be: open
Raw output
java.lang.IllegalStateException: state should be: open
at com.mongodb.assertions.Assertions.isTrue(Assertions.java:79)
at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:44)
at com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription(MongoClientDelegate.java:144)
at com.mongodb.client.internal.MongoClientDelegate.createClientSession(MongoClientDelegate.java:101)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.getClientSession(MongoClientDelegate.java:291)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:183)
at com.mongodb.client.internal.MongoCollectionImpl.executeCount(MongoCollectionImpl.java:219)
at com.mongodb.client.internal.MongoCollectionImpl.countDocuments(MongoCollectionImpl.java:189)
at com.mongodb.client.internal.MongoCollectionImpl.countDocuments(MongoCollectionImpl.java:184)
at com.mongodb.client.internal.MongoCollectionImpl.countDocuments(MongoCollectionImpl.java:179)
at io.github.openmaqs.nosql.MongoDBDriverUnitTest.testCountAllItemsInCollection(MongoDBDriverUnitTest.java:82)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Check failure on line 294 in openmaqs-base/src/main/java/io/github/openmaqs/base/BaseTest.java
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.MongoDBDriverUnitTest ► teardown
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBDriverUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBDriverUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBDriverUnitTest.xml
Error:
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
Raw output
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
at io.github.openmaqs.base.BaseTest.teardown(BaseTest.java:294)
at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:390)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:325)
at org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:810)
at org.testng.internal.invokers.TestInvoker.runAfterConfigurations(TestInvoker.java:779)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:600)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NullPointerException
at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at java.base/java.util.concurrent.ConcurrentHashMap.containsKey(ConcurrentHashMap.java:964)
at io.github.openmaqs.base.BaseTest.getTestObject(BaseTest.java:196)
at io.github.openmaqs.base.BaseExtendableTest.getTestObject(BaseExtendableTest.java:28)
at io.github.openmaqs.base.BaseTest.teardown(BaseTest.java:287)
... 19 more
Check failure on line 294 in openmaqs-base/src/main/java/io/github/openmaqs/base/BaseTest.java
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.MongoDBDriverUnitTest ► teardown
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBDriverUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
Error:
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
Raw output
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
at io.github.openmaqs.base.BaseTest.teardown(BaseTest.java:294)
at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:390)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:325)
at org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:810)
at org.testng.internal.invokers.TestInvoker.runAfterConfigurations(TestInvoker.java:779)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:600)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: io.github.openmaqs.base.exceptions.DriverDisposalException: Unable to properly dispose of driver
at io.github.openmaqs.base.BaseTestObject.close(BaseTestObject.java:280)
at io.github.openmaqs.base.ConcurrentManagerHashMap.closeForKey(ConcurrentManagerHashMap.java:85)
at io.github.openmaqs.base.ConcurrentManagerHashMap.remove(ConcurrentManagerHashMap.java:23)
at io.github.openmaqs.base.BaseTest.teardown(BaseTest.java:292)
... 19 more
Caused by: java.lang.NullPointerException
at io.github.openmaqs.nosql.MongoDriverManager.close(MongoDriverManager.java:105)
at io.github.openmaqs.base.BaseTestObject.close(BaseTestObject.java:278)
... 22 more
Check failure on line 294 in openmaqs-base/src/main/java/io/github/openmaqs/base/BaseTest.java
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.MongoDBDriverUnitTest ► teardown
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBDriverUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
Error:
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
Raw output
io.github.openmaqs.base.exceptions.MAQSRuntimeException: there was an issue cleaning up
at io.github.openmaqs.base.BaseTest.teardown(BaseTest.java:294)
at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:390)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:325)
at org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:810)
at org.testng.internal.invokers.TestInvoker.runAfterConfigurations(TestInvoker.java:779)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:755)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: io.github.openmaqs.base.exceptions.DriverDisposalException: Unable to properly dispose of driver
at io.github.openmaqs.base.BaseTestObject.close(BaseTestObject.java:280)
at io.github.openmaqs.base.ConcurrentManagerHashMap.closeForKey(ConcurrentManagerHashMap.java:85)
at io.github.openmaqs.base.ConcurrentManagerHashMap.remove(ConcurrentManagerHashMap.java:23)
at io.github.openmaqs.base.BaseTest.teardown(BaseTest.java:292)
... 19 more
Caused by: java.lang.NullPointerException
at io.github.openmaqs.nosql.MongoDriverManager.close(MongoDriverManager.java:105)
at io.github.openmaqs.base.BaseTestObject.close(BaseTestObject.java:278)
... 22 more
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.MongoDBFunctionalUnitTest ► testMongoGetLoginID
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.xml
Error:
java.lang.IllegalStateException: state should be: open
Raw output
java.lang.IllegalStateException: state should be: open
at com.mongodb.assertions.Assertions.isTrue(Assertions.java:79)
at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:44)
at com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription(MongoClientDelegate.java:144)
at com.mongodb.client.internal.MongoClientDelegate.createClientSession(MongoClientDelegate.java:101)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.getClientSession(MongoClientDelegate.java:291)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:183)
at com.mongodb.client.internal.MongoIterableImpl.execute(MongoIterableImpl.java:135)
at com.mongodb.client.internal.MongoIterableImpl.iterator(MongoIterableImpl.java:92)
at com.mongodb.client.internal.MongoIterableImpl.forEach(MongoIterableImpl.java:121)
at com.mongodb.client.internal.MongoIterableImpl.into(MongoIterableImpl.java:130)
at io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.testMongoGetLoginID(MongoDBFunctionalUnitTest.java:29)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.MongoDBFunctionalUnitTest ► testMongoFindListWithKey
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.xml
Error:
java.lang.IllegalStateException: state should be: open
Raw output
java.lang.IllegalStateException: state should be: open
at com.mongodb.assertions.Assertions.isTrue(Assertions.java:79)
at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:44)
at com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription(MongoClientDelegate.java:144)
at com.mongodb.client.internal.MongoClientDelegate.createClientSession(MongoClientDelegate.java:101)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.getClientSession(MongoClientDelegate.java:291)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:183)
at com.mongodb.client.internal.MongoIterableImpl.execute(MongoIterableImpl.java:135)
at com.mongodb.client.internal.MongoIterableImpl.iterator(MongoIterableImpl.java:92)
at com.mongodb.client.internal.MongoIterableImpl.forEach(MongoIterableImpl.java:121)
at com.mongodb.client.internal.MongoIterableImpl.into(MongoIterableImpl.java:130)
at io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.testMongoFindListWithKey(MongoDBFunctionalUnitTest.java:51)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.MongoDBFunctionalUnitTest ► testMongoLinqQuery
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.xml
Error:
java.lang.IllegalStateException: state should be: open
Raw output
java.lang.IllegalStateException: state should be: open
at com.mongodb.assertions.Assertions.isTrue(Assertions.java:79)
at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:44)
at com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription(MongoClientDelegate.java:144)
at com.mongodb.client.internal.MongoClientDelegate.createClientSession(MongoClientDelegate.java:101)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.getClientSession(MongoClientDelegate.java:291)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:183)
at com.mongodb.client.internal.MongoIterableImpl.execute(MongoIterableImpl.java:135)
at com.mongodb.client.internal.MongoIterableImpl.iterator(MongoIterableImpl.java:92)
at com.mongodb.client.internal.MongoIterableImpl.forEach(MongoIterableImpl.java:121)
at com.mongodb.client.internal.MongoIterableImpl.into(MongoIterableImpl.java:130)
at io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.testMongoLinqQuery(MongoDBFunctionalUnitTest.java:72)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.MongoDBFunctionalUnitTest ► testMongoQueryAndReturnFirst
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.xml
Error:
java.lang.IllegalStateException: state should be: open
Raw output
java.lang.IllegalStateException: state should be: open
at com.mongodb.assertions.Assertions.isTrue(Assertions.java:79)
at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:165)
at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:44)
at com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription(MongoClientDelegate.java:144)
at com.mongodb.client.internal.MongoClientDelegate.createClientSession(MongoClientDelegate.java:101)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.getClientSession(MongoClientDelegate.java:291)
at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:183)
at com.mongodb.client.internal.FindIterableImpl.first(FindIterableImpl.java:200)
at io.github.openmaqs.nosql.MongoDBFunctionalUnitTest.testMongoQueryAndReturnFirst(MongoDBFunctionalUnitTest.java:40)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.MongoDriverManagerUnitTest ► respectCollectionOverrideInBase
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
Error:
java.lang.AssertionError: expected [com.mongodb.client.internal.MongoCollectionImpl@b8440e1] but found [com.mongodb.client.internal.MongoCollectionImpl@886051f]
Raw output
java.lang.AssertionError: expected [com.mongodb.client.internal.MongoCollectionImpl@b8440e1] but found [com.mongodb.client.internal.MongoCollectionImpl@886051f]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertEqualsImpl(Assert.java:150)
at org.testng.Assert.assertEquals(Assert.java:132)
at org.testng.Assert.assertEquals(Assert.java:644)
at io.github.openmaqs.nosql.MongoDriverManagerUnitTest.respectCollectionOverrideInBase(MongoDriverManagerUnitTest.java:100)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
github-actions / openmaqs-nosql Test Results
io.github.openmaqs.nosql.MongoDriverManagerUnitTest ► respectCollectionOverride
Failed test found in:
openmaqs-nosql/target/surefire-reports/junitreports/TEST-io.github.openmaqs.nosql.MongoDriverManagerUnitTest.xml
Error:
java.lang.AssertionError: expected [com.mongodb.client.internal.MongoCollectionImpl@c9a0599] but found [com.mongodb.client.internal.MongoCollectionImpl@6d41a2c8]
Raw output
java.lang.AssertionError: expected [com.mongodb.client.internal.MongoCollectionImpl@c9a0599] but found [com.mongodb.client.internal.MongoCollectionImpl@6d41a2c8]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertEqualsImpl(Assert.java:150)
at org.testng.Assert.assertEquals(Assert.java:132)
at org.testng.Assert.assertEquals(Assert.java:644)
at io.github.openmaqs.nosql.MongoDriverManagerUnitTest.respectCollectionOverride(MongoDriverManagerUnitTest.java:79)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)