From 6f3d09bca0b8fe8b6565c72a6c11ebfaf4573371 Mon Sep 17 00:00:00 2001 From: Ahmed Sagdati Date: Tue, 12 Nov 2024 02:08:46 +0900 Subject: [PATCH] dont test block times for fuel core lib debug builds --- e2e/tests/providers.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/e2e/tests/providers.rs b/e2e/tests/providers.rs index cd7b289fd..6eadbee54 100644 --- a/e2e/tests/providers.rs +++ b/e2e/tests/providers.rs @@ -218,6 +218,9 @@ async fn can_increase_block_height() -> Result<()> { Ok(()) } +// debug builds are slower (20x for `fuel-core-lib`, 4x for a release-fuel-core-binary), makes for +// flaky tests +#[cfg(not(feature = "fuel-core-lib"))] #[tokio::test] async fn can_set_custom_block_time() -> Result<()> { // ANCHOR: use_produce_blocks_custom_time