Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

tests(e2e): add permissive traffic policy mode test #1872

Merged
merged 4 commits into from
Oct 21, 2020
Merged

tests(e2e): add permissive traffic policy mode test #1872

merged 4 commits into from
Oct 21, 2020

Conversation

nojnhuh
Copy link
Contributor

@nojnhuh nojnhuh commented Oct 20, 2020

Description: This change adds an e2e test for the permissive traffic policy mode. It tests that two services can communicate without any SMI policies when permissive mode is enabled, disables permissive mode, then tests that the services cannot communicate.

Fixes #1815

Affected area:

  • New Functionality [ ]
  • Documentation [ ]
  • Install [ ]
  • Control Plane [ ]
  • CLI Tool [ ]
  • Certificate Management [ ]
  • Networking [ ]
  • Metrics [ ]
  • SMI Policy [ ]
  • Security [ ]
  • Tests [X]
  • CI System [ ]
  • Performance [ ]
  • Other [ ]

Please answer the following questions with yes/no.

  • Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
    No

@nojnhuh nojnhuh requested a review from a team as a code owner October 20, 2020 15:27
@codecov-io
Copy link

Codecov Report

Merging #1872 into main will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1872      +/-   ##
==========================================
+ Coverage   59.31%   59.32%   +0.01%     
==========================================
  Files         126      126              
  Lines        5193     5193              
==========================================
+ Hits         3080     3081       +1     
+ Misses       2110     2109       -1     
  Partials        3        3              
Impacted Files Coverage Δ
pkg/envoy/route/config.go 95.83% <0.00%> (+0.83%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58dc0a0...52a80b3. Read the comment docs.

snehachhabria
snehachhabria previously approved these changes Oct 20, 2020
eduser25
eduser25 previously approved these changes Oct 20, 2020
# Conflicts:
#	tests/e2e/common.go
@nojnhuh nojnhuh dismissed stale reviews from eduser25 and snehachhabria via a7f3f89 October 20, 2020 19:26
@eduser25
Copy link
Contributor

After cert manager test:

Could not confirm all namespace deletion in time: timed out waiting for the condition

#1880

@nojnhuh nojnhuh merged commit 2cd45c4 into openservicemesh:main Oct 21, 2020
@nojnhuh nojnhuh deleted the e2e-permissive branch October 21, 2020 21:07
draychev pushed a commit to draychev/osm that referenced this pull request Oct 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an e2e test for permissive traffic policy mode
4 participants