Skip to content

Conversation

@acroca
Copy link
Member

@acroca acroca commented Sep 22, 2025

Simplified how we spawn and stop dapr commads in the standalone e2e tests.

The main execution path will just hang in the Wait, so whatever makes the wait complete, will terminate the function call.
On top of that, we add 30s timeout to the context (which triggers a Kill on the process) and a 20s SIGTERM for a graceful shutdown.

Also brought back the test ports to use the same port on all instances. We changed the ports because we were having issues with the port being used. Processes should be started and stopped within the test and the ports should be free again for the next test to run.

@acroca acroca requested review from a team as code owners September 22, 2025 09:35
Signed-off-by: Albert Callarisa <[email protected]>
Signed-off-by: Albert Callarisa <[email protected]>
Signed-off-by: Albert Callarisa <[email protected]>
@acroca acroca marked this pull request as draft September 29, 2025 13:11
@acroca acroca closed this Sep 29, 2025
@acroca acroca deleted the refactor-cmd-spawn branch September 29, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant