mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-06 19:18:07 +02:00
759 B
759 B
Test 10-01 Clair can not scan some images
Purpose:
To verify that clair can not scan some image.
References:
User guide
Environment:
- This test requires that a Harbor instance is running and available.
- Harbor is installed with clair enable.
- A linux host with Docker CLI installed.
- Clair has been updated to the latest.
Test Steps:
- Login Harbor as admin.
- Create a project and push an image clair does not recognize(for example: photon).
- Scan the pushed image.
- View the scan result.
- Rescan it.
Expected Outcome:
- Step3 should show view log link.
- Step4 the scan log should be can not scan.
- Step5 should be the same as step3.
Possible Problems:
None