Skip to content

[consul] using Consul Blocking Queries #17

[consul] using Consul Blocking Queries

[consul] using Consul Blocking Queries #17

GitHub Actions / Test Results failed Dec 6, 2024 in 0s

5 fail, 15 pass in 11s

20 tests   - 6   15 ✅  - 4   11s ⏱️ +8s
 7 suites  - 1    0 💤 ±0 
 7 files    - 1    5 ❌  - 2 

Results for commit 496e630. ± Comparison against earlier commit ee574a1.

Annotations

Check warning on line 0 in com.frogdevelopment.micronaut.consul.watch.watcher.JsonWatcherIntegrationTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

should_refresh_only_updated_property() (com.frogdevelopment.micronaut.consul.watch.watcher.JsonWatcherIntegrationTest) failed

build/test-results/test/TEST-com.frogdevelopment.micronaut.consul.watch.watcher.JsonWatcherIntegrationTest.xml [took 2s]
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (4 failures)
-- failure 1 --
[isEventReceived] 
Expecting AtomicBoolean(false) to have value:
  true
but did not.
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:106)
-- failure 2 --
[refreshableProperty] 
expected: "E8IqLZKz0N"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:108)
-- failure 3 --
[refreshableInnerProperty] 
expected: "E8IqLZKz0N"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:109)
-- failure 4 --
[refreshedBean] 
expected: "E8IqLZKz0N"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:115)
	at app//com.frogdevelopment.micronaut.consul.watch.watcher.BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$3(BaseWatcherIntegrationTest.java:105)
	at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at [email protected]/java.lang.Thread.run(Thread.java:1583)

Check warning on line 0 in com.frogdevelopment.micronaut.consul.watch.WatcherFactoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

should_watch_native() (com.frogdevelopment.micronaut.consul.watch.WatcherFactoryTest) failed

build/test-results/test/TEST-com.frogdevelopment.micronaut.consul.watch.WatcherFactoryTest.xml [took 1s]
Raw output
io.micronaut.context.exceptions.ConfigurationException: Unhandled configuration format: NATIVE
	at app//com.frogdevelopment.micronaut.consul.watch.WatcherFactory.createWatcher(WatcherFactory.java:59)
	at app//com.frogdevelopment.micronaut.consul.watch.WatcherFactoryTest.should_watch_native(WatcherFactoryTest.java:96)
	at [email protected]/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:766)
	at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)
	at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)
	at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at app//org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at app//org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at app//org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:124)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:99)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:63)
	at [email protected]/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:92)
	at jdk.proxy1/jdk.proxy1.$Proxy4.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:200)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:132)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:103)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:63)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:121)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71)
	at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check warning on line 0 in com.frogdevelopment.micronaut.consul.watch.watcher.NativeWatcherIntegrationTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

should_refresh_only_updated_property() (com.frogdevelopment.micronaut.consul.watch.watcher.NativeWatcherIntegrationTest) failed

build/test-results/test/TEST-com.frogdevelopment.micronaut.consul.watch.watcher.NativeWatcherIntegrationTest.xml [took 2s]
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (4 failures)
-- failure 1 --
[isEventReceived] 
Expecting AtomicBoolean(false) to have value:
  true
but did not.
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:106)
-- failure 2 --
[refreshableProperty] 
expected: "CKUOb0cAsp"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:108)
-- failure 3 --
[refreshableInnerProperty] 
expected: "CKUOb0cAsp"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:109)
-- failure 4 --
[refreshedBean] 
expected: "CKUOb0cAsp"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:115)
	at app//com.frogdevelopment.micronaut.consul.watch.watcher.BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$3(BaseWatcherIntegrationTest.java:105)
	at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at [email protected]/java.lang.Thread.run(Thread.java:1583)

Check warning on line 0 in com.frogdevelopment.micronaut.consul.watch.watcher.YamlWatcherIntegrationTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

should_refresh_only_updated_property() (com.frogdevelopment.micronaut.consul.watch.watcher.YamlWatcherIntegrationTest) failed

build/test-results/test/TEST-com.frogdevelopment.micronaut.consul.watch.watcher.YamlWatcherIntegrationTest.xml [took 2s]
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (4 failures)
-- failure 1 --
[isEventReceived] 
Expecting AtomicBoolean(false) to have value:
  true
but did not.
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:106)
-- failure 2 --
[refreshableProperty] 
expected: "sElfXSwLpc"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:108)
-- failure 3 --
[refreshableInnerProperty] 
expected: "sElfXSwLpc"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:109)
-- failure 4 --
[refreshedBean] 
expected: "sElfXSwLpc"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:115)
	at app//com.frogdevelopment.micronaut.consul.watch.watcher.BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$3(BaseWatcherIntegrationTest.java:105)
	at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at [email protected]/java.lang.Thread.run(Thread.java:1583)

Check warning on line 0 in com.frogdevelopment.micronaut.consul.watch.watcher.PropertiesHandlerIntegrationTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

should_refresh_only_updated_property() (com.frogdevelopment.micronaut.consul.watch.watcher.PropertiesHandlerIntegrationTest) failed

build/test-results/test/TEST-com.frogdevelopment.micronaut.consul.watch.watcher.PropertiesHandlerIntegrationTest.xml [took 2s]
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (4 failures)
-- failure 1 --
[isEventReceived] 
Expecting AtomicBoolean(false) to have value:
  true
but did not.
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:106)
-- failure 2 --
[refreshableProperty] 
expected: "LpxTaPAQK9"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:108)
-- failure 3 --
[refreshableInnerProperty] 
expected: "LpxTaPAQK9"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:109)
-- failure 4 --
[refreshedBean] 
expected: "LpxTaPAQK9"
 but was: "foo"
at BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$2(BaseWatcherIntegrationTest.java:115)
	at app//com.frogdevelopment.micronaut.consul.watch.watcher.BaseWatcherIntegrationTest.lambda$should_refresh_only_updated_property$3(BaseWatcherIntegrationTest.java:105)
	at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at [email protected]/java.lang.Thread.run(Thread.java:1583)