Skip to content

Commit 37f27ab

Browse files
committed
updated comment
1 parent fb04187 commit 37f27ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

endtoendtests/src/main/java/com/functions/RewindTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ public HttpResponseMessage startRewindNonFailedOrchestration(
100100
}
101101

102102
// 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.
103+
// The sidecar rejects this with FAILED_PRECONDITION since the instance is not
104+
// in a Failed state. The client translates this to an IllegalStateException.
105105
try {
106106
client.rewindInstance(instanceId, "Testing rewind on non-failed orchestration");
107107
context.getLogger().info("Rewind request sent for non-failed instance: " + instanceId);

0 commit comments

Comments
 (0)