Skip to content

Fix schedule workflow action retry policy (#2082)

Sign in for the full log view
GitHub Actions / JUnit Test Report failed May 29, 2024 in 0s

762 tests run, 736 passed, 25 skipped, 1 failed.

Annotations

Check failure on line 378 in temporal-sdk/src/test/java/io/temporal/client/schedules/ScheduleTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ScheduleTest.describeSchedules

java.lang.AssertionError: expected:<RetryOptions{initialInterval=PT1S, backoffCoefficient=2.0, maximumAttempts=1, maximumInterval=null, doNotRetry=[]}> but was:<RetryOptions{initialInterval=null, backoffCoefficient=0.0, maximumAttempts=1, maximumInterval=null, doNotRetry=null}>
Raw output
java.lang.AssertionError: expected:<RetryOptions{initialInterval=PT1S, backoffCoefficient=2.0, maximumAttempts=1, maximumInterval=null, doNotRetry=[]}> but was:<RetryOptions{initialInterval=null, backoffCoefficient=0.0, maximumAttempts=1, maximumInterval=null, doNotRetry=null}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at io.temporal.client.schedules.ScheduleTest.describeSchedules(ScheduleTest.java:378)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:829)