checkObjectClassExcludeFilter

(from org.gluu.persist.sql.impl.test.SqlFilterConverterCheckExcludeFilterTest took 2 ms)

FAIL

Test Name: Command line test
Suite Name: Command line suite


[Method Execution Trend Chart]

Exception java.lang.AssertionError

Message: expected [select doc.`*` from `table` as doc where doc.objectClass = 'gluuPerson' and (doc.uid = 'test' and lower(doc.uid) = 'test' and doc.objectClass = 'gluuPerson' and (doc.uid = 'test' and lower(doc.uid) = 'test' and doc.objectClass = 'gluuPerson' and JSON_CONTAINS(doc.added->'$.v', CAST('["["2020-12-16T14:58:18.398"]"]' AS JSON))) and JSON_CONTAINS(doc.added->'$.v', CAST('["["2020-12-16T14:58:18.398"]"]' AS JSON)))] but found [select doc.`*` from `table` as doc where doc.objectClass = 'gluuPerson' and (doc.uid = 'test' and lower(doc.uid) = 'test' and doc.objectClass = 'gluuPerson' and (doc.uid = 'test' and lower(doc.uid) = 'test' and doc.objectClass = 'gluuPerson' and JSON_CONTAINS(doc.added->'$.v', CAST('["2020-12-16T14:58:18.398"]' AS JSON))) and JSON_CONTAINS(doc.added->'$.v', CAST('["2020-12-16T14:58:18.398"]' AS JSON)))]Stacktrace:

at org.testng.Assert.fail(Assert.java:96)
at org.testng.Assert.failNotEquals(Assert.java:776)
at org.testng.Assert.assertEqualsImpl(Assert.java:137)
at org.testng.Assert.assertEquals(Assert.java:118)
at org.testng.Assert.assertEquals(Assert.java:453)
at org.testng.Assert.assertEquals(Assert.java:463)
at org.gluu.persist.sql.impl.test.SqlFilterConverterCheckExcludeFilterTest.checkObjectClassExcludeFilter(SqlFilterConverterCheckExcludeFilterTest.java:68)
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.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:159)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106)
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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)