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

Cleaner init of tests + bug fix #333

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Cleaner init of tests + bug fix #333

merged 1 commit into from
Apr 8, 2024

Conversation

jamesgreen-moj
Copy link
Contributor

@jamesgreen-moj jamesgreen-moj commented Apr 8, 2024

removed unclean init of tests within make file, and made the process of starting tests cleaner.

A combination of "depends on" and the way the make file calls the tests to run.I noted when containerd was enabled. It would kill and restart the staff-device-dhcp-server-dhcp-primary-1 when it gets to this line "$(DOCKER_COMPOSE) run --rm dhcp-test rspec -f d ./spec" in the make fileSo by commenting out the depends on, it would no longer kill and restart the staff-device-dhcp-server-dhcp-primary-1 container thus not affecting the tests.

@jamesgreen-moj
Copy link
Contributor Author

Copy link

@smjmoj smjmoj left a comment

Choose a reason for hiding this comment

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

Tested with containerd on and passes.

@smjmoj smjmoj merged commit 9c156e8 into main Apr 8, 2024
1 check passed
@smjmoj smjmoj deleted the nd-137 branch April 8, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants