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

Bug/teardown podman #1022

Merged
merged 5 commits into from
May 9, 2023
Merged

Bug/teardown podman #1022

merged 5 commits into from
May 9, 2023

Conversation

l0r1s
Copy link
Contributor

@l0r1s l0r1s commented May 9, 2023

Fix #757

  • Fixed podman issue when trying to teardown before fully spawned.
  • Fixed podman issue when the network is spawned to prevent exiting zombienet

@l0r1s l0r1s requested review from pepoviola and wirednkod May 9, 2023 12:45
@pepoviola
Copy link
Collaborator

@l0r1s can you please run eslint :)

};
const network = await start(creds, config, options);
network.showNetworkInfo(config.settings?.provider);
return network;
// keep the process running
await new Promise(() => setInterval(() => {}, 1000));
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we don't need a promise here.

Suggested change
await new Promise(() => setInterval(() => {}, 1000));
setInterval(() => {}, 1000);

@pepoviola pepoviola merged commit 7e2d9e5 into main May 9, 2023
@pepoviola pepoviola deleted the bug/teardown-podman branch May 9, 2023 14:52
@pepoviola
Copy link
Collaborator

thanks!!

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.

[bug] No way to teardown network with podman
2 participants