Skip to content

QA tests for the dependency proxy

Proposal

Follow up of !52805 (comment 499222532):

From the backend side, we're limited to simulate requests done by a real client. Given all the logic around http headers, it could be worth to have the same QA examples executed with the real docker client. Even better, run them with different docker versions.

The idea is to have end to end tests for the dependency proxy in different scenarios:

  • Pulling an image not present in the dependency proxy
  • Pulling an image present in the dependency proxy
  • Pulling an image present but stale in the dependency proxy

Ideally, the above should be test across different versions of docker since it can have different behaviors. See !52805 (merged).