Remove p2p preheat by event testcase (#22354)

Signed-off-by: stonezdj <stone.zhang@broadcom.com>
This commit is contained in:
stonezdj(Daojun Zhang) 2025-09-15 11:53:05 +08:00 committed by GitHub
parent c122380b4d
commit 0f1edd0200
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 29 deletions

View File

@ -79,32 +79,3 @@ Test Case - P2P Preheat By Manual
Delete A P2P Preheat Policy ${policy_name} Delete A P2P Preheat Policy ${policy_name}
Delete A Distribution ${dist_name} ${DISTRIBUTION_ENDPOINT} Delete A Distribution ${dist_name} ${DISTRIBUTION_ENDPOINT}
Close Browser Close Browser
Test Case - P2P Preheat By Event
[Tags] p2p_preheat_by_event need_distribution_endpoint
${d}= Get Current Date result_format=%m%s
${project_name}= Set Variable project_p2p${d}
${dist_name}= Set Variable distribution${d}
${policy_name}= Set Variable policy${d}
${image1}= Set Variable busybox
${image2}= Set Variable hello-world
${tag1}= Set Variable latest
${tag2}= Set Variable stable
${label}= Set Variable p2p_preheat
Init Chrome Driver
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
Create An New Distribution Dragonfly ${dist_name} ${DISTRIBUTION_ENDPOINT} ${DRAGONFLY_AUTH_TOKEN}
Create An New Project And Go Into Project ${project_name}
Push Image With Tag ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} ${project_name} ${image1} ${tag1} ${tag1}
Push Image With Tag ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} ${project_name} ${image1} ${tag2} ${tag2}
Create An New P2P Preheat Policy ${policy_name} ${dist_name} ** ** Event based
Retry Double Keywords When Error Select P2P Preheat Policy ${policy_name} Wait Until Element Is Visible ${p2p_execution_header}
# Artifact is pushed event
Retry Action Keyword Verify Artifact Is Pushed Event ${project_name} ${policy_name} ${image2} ${tag1}
# Artifact is scanned event
Retry Action Keyword Verify Artifact Is Scanned Event ${project_name} ${policy_name} ${image1} ${tag1}
# Artifact is labeled event
Retry Action Keyword Verify Artifact Is Labeled Event ${project_name} ${policy_name} ${image1} ${tag2} ${label}
Delete A P2P Preheat Policy ${policy_name}
Delete A Distribution ${dist_name} ${DISTRIBUTION_ENDPOINT}
Close Browser