From 0558f1e0bfcf740ef3da6acee086b4f7cac3d633 Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Sun, 16 Jul 2023 04:50:00 +0300 Subject: [PATCH] test: add retries for all timeout tests --- cli/src/tests/parser_test.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/src/tests/parser_test.rs b/cli/src/tests/parser_test.rs index da9aefa8..8ad1888a 100644 --- a/cli/src/tests/parser_test.rs +++ b/cli/src/tests/parser_test.rs @@ -700,6 +700,7 @@ fn test_parsing_with_a_timeout() { } #[test] +#[retry(10)] fn test_parsing_with_a_timeout_and_a_reset() { let mut parser = Parser::new(); parser.set_language(get_language("json")).unwrap(); @@ -755,6 +756,7 @@ fn test_parsing_with_a_timeout_and_a_reset() { } #[test] +#[retry(10)] fn test_parsing_with_a_timeout_and_implicit_reset() { allocations::record(|| { let mut parser = Parser::new(); @@ -788,6 +790,7 @@ fn test_parsing_with_a_timeout_and_implicit_reset() { } #[test] +#[retry(10)] fn test_parsing_with_timeout_and_no_completion() { allocations::record(|| { let mut parser = Parser::new();