-
Notifications
You must be signed in to change notification settings - Fork 2
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
Tests for AdminNetworkPolicy #388
Merged
tanyaveksler
merged 43 commits into
support_admin_netpolicy
from
tests_for_admin_netpolicy
Sep 3, 2024
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
0d03b9a
Added some ANP tests from policy-assistant.
tanyaveksler 82364f6
fixing lint errors
tanyaveksler b9230c4
Fixing lint error
tanyaveksler a38ec50
Reorganized testing infrastructure from for tests fro parsed resource…
tanyaveksler 53259a5
Merge branch 'support_admin_netpolicy' into tests_for_admin_netpolicy
tanyaveksler 45a7181
fixing lint errors
tanyaveksler 1805549
return error if ANPs are without name or not unique names
shireenf-ibm 6e77b96
Revert "return error if ANPs are without name or not unique names"
shireenf-ibm dd0a3b4
Added ANP/BANP names in tests.
tanyaveksler 0861c19
:Merge branch 'tests_for_admin_netpolicy' of github.com:np-guard/netp…
tanyaveksler 87a0ba6
Fixed lint errors.
tanyaveksler a060dd8
Fixed lint errors
tanyaveksler dedbf4b
Added eval parsed resources tests (along with connlist tests).
tanyaveksler 2dabef1
fixing lint errors
tanyaveksler 1f97afc
fixing lint errors
tanyaveksler 1f1a67c
Added testing of CheckIfAllowed and CheckIfAllowedNew
tanyaveksler 28f746d
fixing lint errors
tanyaveksler 8ad121a
making linter happy
tanyaveksler 63aa720
Reorganized eval ANP tests, to not depend on connlist.
tanyaveksler e9efb41
Small fixes.
tanyaveksler 735eb73
Merge branch 'support_admin_netpolicy' into tests_for_admin_netpolicy
tanyaveksler e4c3277
small fixes
tanyaveksler 5081036
Changed expected results to not use "all but" expressions.
tanyaveksler 82248ba
making linter happy
tanyaveksler 821f67e
making linter happy
tanyaveksler 6c20baa
making lint happy
tanyaveksler 9f2c3ac
making linter happy
tanyaveksler 1eb9520
make linter happy
tanyaveksler 476d4de
Creating k8sObjects during a test run, rather then in a test creation.
tanyaveksler 9bf8e68
making lint happy
tanyaveksler 08c713a
make lint happy
tanyaveksler d4cebea
linter
tanyaveksler c37634c
shutting up linter
tanyaveksler 63190a7
Moved to parsed_resources_tests some functions used only there.
tanyaveksler 58f973c
Added fake pod status IP fields
tanyaveksler d6b85d8
Avoiding unnecessary exports;
tanyaveksler 73fabd3
Merge branch 'support_admin_netpolicy' into tests_for_admin_netpolicy
tanyaveksler b922829
Merge branch 'support_admin_netpolicy' into tests_for_admin_netpolicy
tanyaveksler cece146
Making linter happy
tanyaveksler 7f90b7b
Update pkg/internal/testutils/parsed_resources_tests.go
tanyaveksler a3d0a43
Update pkg/internal/testutils/parsed_resources_tests.go
tanyaveksler 9bc0047
Fixed typos;
tanyaveksler 55a6680
Merge branch 'support_admin_netpolicy' into tests_for_admin_netpolicy
tanyaveksler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should these funcs be exported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They shouldn't :)