Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
kab163 committed Dec 3, 2024
1 parent e9eccf5 commit afd4cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/resource_aware_pool_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ TEST_P(ResourceAwarePoolTest, CheckStates)

do_sleep<<<1, 32, 0, d1.get_stream()>>>(ptr);

EXPECT_THROW(m_pool.deallocate(ptr, r2));
EXPECT_THROW(m_pool.deallocate(ptr, r2), umpire::runtime_error);
EXPECT_NO_THROW(m_pool.deallocate(ptr, r1));

EXPECT_EQ(get_num_pending(m_pool), 1);
Expand Down

0 comments on commit afd4cfd

Please sign in to comment.