Skip to content

Fix tests

Fix tests #19

GitHub Actions / JUnit Test Report failed Apr 26, 2024 in 0s

781 tests run, 768 passed, 12 skipped, 1 failed.

Annotations

Check failure on line 55 in java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/testing/WorkflowTestFrameworkTests.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

WorkflowTestFrameworkTests.initializationError

java.lang.NoClassDefFoundError: javax/ws/rs/core/NoContentException
Raw output
java.lang.NoClassDefFoundError: javax/ws/rs/core/NoContentException
	at com.netflix.conductor.client.http.ClientRequestHandler.<init>(ClientRequestHandler.java:44)
	at com.netflix.conductor.client.http.TaskClient.<init>(TaskClient.java:97)
	at com.netflix.conductor.client.http.TaskClient.<init>(TaskClient.java:69)
	at com.netflix.conductor.sdk.testing.WorkflowTestRunner.<init>(WorkflowTestRunner.java:40)
	at com.netflix.conductor.sdk.workflow.testing.WorkflowTestFrameworkTests.init(WorkflowTestFrameworkTests.java:45)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Suppressed: java.lang.NullPointerException: Cannot invoke "com.netflix.conductor.sdk.testing.WorkflowTestRunner.shutdown()" because "com.netflix.conductor.sdk.workflow.testing.WorkflowTestFrameworkTests.testRunner" is null
		at com.netflix.conductor.sdk.workflow.testing.WorkflowTestFrameworkTests.cleanUp(WorkflowTestFrameworkTests.java:55)
		at java.base/java.lang.reflect.Method.invoke(Method.java:568)
		at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
		at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
		... 1 more
Caused by: java.lang.ClassNotFoundException: javax.ws.rs.core.NoContentException
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
	... 7 more