Skip to content

Commit

Permalink
#2099: Tests: Fix failing test_destroy test
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala committed May 8, 2023
1 parent e9ae484 commit 9b434a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/collection/test_destroy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ struct TestDestroy : TestParallelHarness { };
static constexpr int32_t const num_elms_per_node = 8;

TEST_F(TestDestroy, test_destroy_1) {
auto const& this_node = theContext()->getNode();
auto const& num_nodes = theContext()->getNumNodes().get();
auto const this_node = theContext()->getNode();
auto const num_nodes = theContext()->getNumNodes().get();

vt::runInEpochCollective([&]{
if (this_node == vt::NodeT{0}) {
Expand Down

0 comments on commit 9b434a6

Please sign in to comment.