@@ -195,16 +195,6 @@ async fn test_repo_upload() -> Result<()> {
195195 "initial description matches fetched description"
196196 ) ;
197197
198- // Even though the repository already exists, the artifacts are sent to the
199- // replication task ahead of database insertion. The task should have run
200- // once, found nothing to do, and deleted the artifacts.
201- let status =
202- wait_tuf_artifact_replication_step ( & cptestctx. internal_client ) . await ;
203- eprintln ! ( "{status:?}" ) ;
204- assert_eq ! ( status. requests_ok, 0 ) ;
205- assert_eq ! ( status. requests_outstanding, 0 ) ;
206- assert_eq ! ( status. local_repos, 0 ) ;
207-
208198 // Upload a new repository with the same system version but a different
209199 // version for one of the components. This will produce a different hash,
210200 // which should return an error.
@@ -232,16 +222,6 @@ async fn test_repo_upload() -> Result<()> {
232222 ) ?;
233223 }
234224
235- // Even though the repository was rejected, the artifacts are sent to the
236- // replication task ahead of database insertion. The task should have run
237- // once, found nothing to do, and deleted the artifacts.
238- let status =
239- wait_tuf_artifact_replication_step ( & cptestctx. internal_client ) . await ;
240- eprintln ! ( "{status:?}" ) ;
241- assert_eq ! ( status. requests_ok, 0 ) ;
242- assert_eq ! ( status. requests_outstanding, 0 ) ;
243- assert_eq ! ( status. local_repos, 0 ) ;
244-
245225 // Upload a new repository with a different system version and different
246226 // contents (but same version) for an artifact.
247227 {
@@ -268,16 +248,6 @@ async fn test_repo_upload() -> Result<()> {
268248 ) ?;
269249 }
270250
271- // Even though the repository was rejected, the artifacts are sent to the
272- // replication task ahead of database insertion. The task should have run
273- // once, found nothing to do, and deleted the artifacts.
274- let status =
275- wait_tuf_artifact_replication_step ( & cptestctx. internal_client ) . await ;
276- eprintln ! ( "{status:?}" ) ;
277- assert_eq ! ( status. requests_ok, 0 ) ;
278- assert_eq ! ( status. requests_outstanding, 0 ) ;
279- assert_eq ! ( status. local_repos, 0 ) ;
280-
281251 // Upload a new repository with a different system version but no other
282252 // changes. This should be accepted.
283253 {
0 commit comments