Skip to content

Commit

Permalink
fix(tests): rename test, once macro on fixture (#2017)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronArinder authored Aug 1, 2024
1 parent 041c8d9 commit b841fe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/e2e/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ fn clone_retail_supergraph_repo() -> TempDir {
}

#[fixture]
#[once]
fn run_subgraphs_retail_supergraph(
retail_supergraph: &'static RetailSupergraph,
) -> &'static RetailSupergraph<'static> {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/supergraph/compose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::e2e::{retail_supergraph, RetailSupergraph};
#[rstest]
#[ignore]
#[tokio::test(flavor = "multi_thread")]
async fn run_rover_supergraph(retail_supergraph: &RetailSupergraph<'_>) {
async fn e2e_test_run_rover_supergraph(retail_supergraph: &RetailSupergraph<'_>) {
// GIVEN
// - a supergraph config yaml (fixture)
// - retail supergraphs representing any set of subgraphs to be composed into a supergraph
Expand Down

0 comments on commit b841fe8

Please sign in to comment.