From 752839fd4b77314077edf4680d53dbc9f0501f0c Mon Sep 17 00:00:00 2001 From: Legokichi Duckscallion Date: Wed, 21 Jun 2023 15:37:20 +0900 Subject: [PATCH] ignore flakey test --- src/test.rs | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/test.rs b/src/test.rs index 73d0a28..18cd144 100644 --- a/src/test.rs +++ b/src/test.rs @@ -482,7 +482,6 @@ async fn pull_succ() { "Head \"http://localhost:37564/v2/hello-world/manifests/latest\": EOF" )] #[case("cannot_get_manifest_sha256", "Get \"http://localhost:37564/v2/hello-world/manifests/sha256:7e9b6e7ba2842c91cf49f3e214d04a7a496f8214356f41d81a6e6dcad11f11e3\": EOF")] -// this test sometimes failed if manifest file is cached #[case("cannot_download_manifest_sha256", "Get \"http://localhost:37564/v2/hello-world/manifests/sha256:7e9b6e7ba2842c91cf49f3e214d04a7a496f8214356f41d81a6e6dcad11f11e3\": EOF")] #[serial_test::serial] #[tokio::test] @@ -568,17 +567,16 @@ async fn pull_failed_before_stream_response( "error pulling image configuration: download failed after attempts=6: EOF", "error pulling image configuration: download failed after attempts=6: EOF" )] -#[case(false, 0, "unexpected EOF", "unexpected EOF")] -#[case( - false, - 1, - "expected HTTP 206 from byte range request", - "expected HTTP 206 from byte range request" -)] +// thoses tests sometimes failed if blob file is cached +//#[case(false, 0, "unexpected EOF", "unexpected EOF")] +//#[case( +// false, +// 1, +// "expected HTTP 206 from byte range request", +// "expected HTTP 206 from byte range request" +//)] #[serial_test::serial] #[tokio::test] -#[ignore] -// this test sometimes failed if blob file is cached async fn pull_failed_on_response_stream( #[case] v2_blob_config_flag: bool, #[case] v2_blob_layer_count: usize,