Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] Cluster tool fixes #637

Closed
wants to merge 7 commits into from
Closed

[TEST] Cluster tool fixes #637

wants to merge 7 commits into from

Conversation

mtmk
Copy link

@mtmk mtmk commented Nov 15, 2023

Path and tmp folder fixes fpr Windows.
Also signal handling fixes for Windows and Linux.

Path and tmp folder fixes fpr Windows.
Also signal handling fixes for Windows and Linux.
@mtmk mtmk requested a review from aricart November 15, 2023 16:04
@mtmk mtmk changed the title Test cluster tool fixes [TEST] Cluster tool fixes Nov 15, 2023
@@ -140,28 +146,36 @@ function restart(cluster: NatsServer[]) {
}

function waitForStop(): void {
const isWindows = Deno.build.os === "windows";
const isLinux = Deno.build.os === "linux";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets just test for windows, the rest is assumed to be some sort of unix, otherwise we'll fail and add more complexity for other things that will run

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only for signal handling on Linux swapping ctrl-T with ctrl-Z since SIGINFO doesn't work on Linux. It'd be nice to have the option to run on Linux as well. BTW macOS should not be affected.

@mtmk mtmk closed this Feb 22, 2024
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.

None yet

2 participants