We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb04187 commit 37f27abCopy full SHA for 37f27ab
1 file changed
endtoendtests/src/main/java/com/functions/RewindTest.java
@@ -100,8 +100,8 @@ public HttpResponseMessage startRewindNonFailedOrchestration(
100
}
101
102
// Attempt to rewind the non-failed orchestration using the client method.
103
- // This is expected to be a no-op or may throw if the sidecar rejects it,
104
- // so we catch any exception and still return the check status response.
+ // The sidecar rejects this with FAILED_PRECONDITION since the instance is not
+ // in a Failed state. The client translates this to an IllegalStateException.
105
try {
106
client.rewindInstance(instanceId, "Testing rewind on non-failed orchestration");
107
context.getLogger().info("Rewind request sent for non-failed instance: " + instanceId);
0 commit comments