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

add e2e of imageoverride #379

Merged

Conversation

XiShanYongYe-Chang
Copy link
Member

What type of PR is this?

/kind failing-test

What this PR does / why we need it:

add e2e of imageoverride with #370

SSS
------------------------------
[OverridePolicy] apply overriders testing Deployment imageOverride with empty predicate test 
  deployment imageOverride testing
  /root/karmada/test/e2e/overridepolicy_test.go:61
STEP: creating propagationPolicy(karmadatest-nm6/deploy-xr4)
STEP: creating overridePolicy(karmadatest-nm6/deploy-xr4)
STEP: creating deployment(karmadatest-nm6/deploy-xr4)
STEP: check if deployment present on member clusters have correct image value
I0527 12:18:46.108427   22970 overridepolicy_test.go:74] Waiting for deployment(karmadatest-nm6/deploy-xr4) present on cluster(member1)
I0527 12:18:51.112567   22970 overridepolicy_test.go:74] Waiting for deployment(karmadatest-nm6/deploy-xr4) present on cluster(member2)
STEP: removing deployment(karmadatest-nm6/deploy-xr4)
STEP: removing overridePolicy(karmadatest-nm6/deploy-xr4)
STEP: removing propagationPolicy(karmadatest-nm6/deploy-xr4)

• [SLOW TEST:10.067 seconds]
[OverridePolicy] apply overriders testing
/root/karmada/test/e2e/overridepolicy_test.go:20
  Deployment imageOverride with empty predicate test
  /root/karmada/test/e2e/overridepolicy_test.go:21
    deployment imageOverride testing
    /root/karmada/test/e2e/overridepolicy_test.go:61
------------------------------
[OverridePolicy] apply overriders testing Pod imageOverride test 
  pod imageOverride testing
  /root/karmada/test/e2e/overridepolicy_test.go:145
STEP: creating propagationPolicy(karmadatest-nm6/pod-bsf)
STEP: creating overridePolicy(karmadatest-nm6/pod-bsf)
STEP: creating pod(karmadatest-nm6/pod-bsf)
STEP: check if pod present on member clusters have correct image value
I0527 12:18:56.163858   22970 overridepolicy_test.go:158] Waiting for pod(karmadatest-nm6/pod-bsf) present on cluster(member1)
I0527 12:19:01.167646   22970 overridepolicy_test.go:158] Waiting for pod(karmadatest-nm6/pod-bsf) present on cluster(member2)
STEP: removing pod(karmadatest-nm6/pod-bsf)
STEP: removing overridePolicy(karmadatest-nm6/pod-bsf)
STEP: removing propagationPolicy(karmadatest-nm6/pod-bsf)

• [SLOW TEST:10.055 seconds]
[OverridePolicy] apply overriders testing
/root/karmada/test/e2e/overridepolicy_test.go:20
  Pod imageOverride test
  /root/karmada/test/e2e/overridepolicy_test.go:105
    pod imageOverride testing
    /root/karmada/test/e2e/overridepolicy_test.go:145
------------------------------
[OverridePolicy] apply overriders testing Deployment imageOverride with predicate test 
  deployment imageOverride testing
  /root/karmada/test/e2e/overridepolicy_test.go:230
STEP: creating propagationPolicy(karmadatest-nm6/deploy-rpv)
STEP: creating overridePolicy(karmadatest-nm6/deploy-rpv)
STEP: creating deployment(karmadatest-nm6/deploy-rpv)
STEP: check if deployment present on member clusters have correct image value
I0527 12:19:06.198839   22970 overridepolicy_test.go:243] Waiting for deployment(karmadatest-nm6/deploy-rpv) present on cluster(member1)
I0527 12:19:11.202521   22970 overridepolicy_test.go:243] Waiting for deployment(karmadatest-nm6/deploy-rpv) present on cluster(member2)
STEP: removing deployment(karmadatest-nm6/deploy-rpv)
STEP: removing overridePolicy(karmadatest-nm6/deploy-rpv)
STEP: removing propagationPolicy(karmadatest-nm6/deploy-rpv)

• [SLOW TEST:10.035 seconds]
[OverridePolicy] apply overriders testing
/root/karmada/test/e2e/overridepolicy_test.go:20
  Deployment imageOverride with predicate test
  /root/karmada/test/e2e/overridepolicy_test.go:190
    deployment imageOverride testing
    /root/karmada/test/e2e/overridepolicy_test.go:230
------------------------------
SSSSSSSSSSSSS
Ran 3 of 19 Specs in 38.398 seconds
SUCCESS! -- 3 Passed | 0 Failed | 0 Pending | 16 Skipped
PASS

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@RainbowMango RainbowMango added this to the v0.6 milestone May 27, 2021
@RainbowMango RainbowMango self-assigned this May 27, 2021
@RainbowMango RainbowMango added the priority/backlog Higher priority than priority/awaiting-more-evidence. label May 27, 2021
test/e2e/overridepolicy_test.go Outdated Show resolved Hide resolved
test/e2e/overridepolicy_test.go Outdated Show resolved Hide resolved
test/e2e/overridepolicy_test.go Outdated Show resolved Hide resolved
Signed-off-by: changzhen <changzhen5@huawei.com>
@RainbowMango RainbowMango merged commit bc7cfd8 into karmada-io:master May 28, 2021
@XiShanYongYe-Chang XiShanYongYe-Chang deleted the e2e-imageoverride branch June 3, 2021 01:11
XiShanYongYe-Chang added a commit to XiShanYongYe-Chang/karmada that referenced this pull request Aug 28, 2021
Signed-off-by: changzhen <changzhen5@huawei.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants