Skip to content

Add killAndRestart for container for integration tests#11754

Merged
jihoonson merged 1 commit intoapache:masterfrom
jihoonson:kill-and-restart-container
Sep 30, 2021
Merged

Add killAndRestart for container for integration tests#11754
jihoonson merged 1 commit intoapache:masterfrom
jihoonson:kill-and-restart-container

Conversation

@jihoonson
Copy link
Copy Markdown
Contributor

Description

#9576 added utility functions for integration tests including restarting docker containers. This PR adds a new utility method to kill a container with SIGKILL and restart the container. This could be useful for testing certain edge cases where some node is forced to exit without graceful shutdown. I made this method public along with others since the current way providing utility methods for each node doesn't seem scalable. This PR also fixes a bug in SqlQueryWithResults that JsonProperty annotations are missing for parameters.


This PR has:

  • been self-reviewed.

@jihoonson jihoonson merged commit 1c0b76b into apache:master Sep 30, 2021
@abhishekagarwal87 abhishekagarwal87 added this to the 0.23.0 milestone May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants