Location: Pulp Smash → API Documentation → pulp_smash.tests.rpm.api_v2.test_duplicate_uploads
Tests for how well Pulp can deal with duplicate uploads.
This module targets Pulp #1406 and Pulp Smash #81. The test procedure is
- Create a new feed-less repository.
- Upload content and import it into the repository. Assert the upload and
import was successful.
- Upload identical content and import it into the repository.
The second upload should silently fail for all Pulp releases in the 2.x series.
Test how well Pulp can deal with duplicate unit uploads.
Create an RPM repository. Upload an RPM into it twice.