Skip to content

[Bug]: failed tests due to unexpected PENDING status  #370

@zhongkechen

Description

@zhongkechen

Expected Behavior

Test cases should always succeed

Actual Behavior

Occasional test failures due to unexpected PENDINGs

e.g. https://github.com/aws/aws-durable-execution-sdk-java/actions/runs/25229191191/job/73980791164

Error:  software.amazon.lambda.durable.examples.CloudBasedIntegrationTest.testCallbackExample -- Time elapsed: 6.826 s <<< ERROR!
java.lang.IllegalStateException: Execution succeeded while invocation failed with: Cannot return PENDING status with no pending operations.
	at software.amazon.lambda.durable.testing.TestResult.getStatus(TestResult.java:60)
	at software.amazon.lambda.durable.examples.CloudBasedIntegrationTest.testCallbackExample(CloudBasedIntegrationTest.java:399)

Steps to Reproduce

Run the case CloudBasedIntegrationTest.testCallbackExample multiple times

SDK Version

1.0.1

Java Version

17

Is this a regression?

No

Last Working Version

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Backlog

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions