Skip to content

Commit

Permalink
add guarding
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeiannucci committed Sep 3, 2024
1 parent 69ce789 commit e8b5582
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/testing/tests/tests_1/test_success.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@

use std::time::Duration;

#[cfg(feature = "dependency-tasks")]
use hotshot_example_types::testable_delay::{
DelayConfig, DelayOptions, DelaySettings, SupportedTraitTypesForAsyncDelay,
};
use hotshot_example_types::{
node_types::{
Libp2pImpl, MarketplaceUpgradeTestVersions, MemoryImpl, PushCdnImpl,
TestConsecutiveLeaderTypes, TestVersions,
},
state_types::TestTypes,
testable_delay::{DelayConfig, DelayOptions, DelaySettings, SupportedTraitTypesForAsyncDelay},
};
use hotshot_macros::cross_tests;
use hotshot_testing::{
Expand Down Expand Up @@ -61,6 +64,7 @@ cross_tests!(
},
);

#[cfg(feature = "dependency-tasks")]
cross_tests!(
TestName: test_success_with_async_delay,
Impls: [MemoryImpl, Libp2pImpl, PushCdnImpl],
Expand Down Expand Up @@ -93,6 +97,7 @@ cross_tests!(
},
);

#[cfg(feature = "dependency-tasks")]
cross_tests!(
TestName: test_success_with_async_delay_2,
Impls: [MemoryImpl, Libp2pImpl, PushCdnImpl],
Expand Down

0 comments on commit e8b5582

Please sign in to comment.