Skip to content

Commit 227701d

Browse files
authored
Merge pull request ceph#62397 from aainscow/interval_set_qf
test/common: skip google tests which create core dumps in test_interval_set Reviewed-by: Bill Scales <[email protected]> Reviewed-by: Adam Kupczyk <[email protected]>
2 parents 3f67d1f + e4147a0 commit 227701d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/common/test_interval_set.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ using namespace ceph;
2626
* if (interval set has strict=true) expect that ceph will panic.
2727
* else expect that ceph will not panic and execute the second clause.
2828
*/
29-
#define ASSERT_STRICT_DEATH(s, e) if constexpr (ISet::test_strict) ASSERT_DEATH(s, ""); else { s; e; }
29+
// FIXME: The CI pipeline cannot cope with the core dumps that ASSERT_DEATH
30+
// creates, so we need to find a better approach. Disabling to unblock.
31+
//#define ASSERT_STRICT_DEATH(s, e) if constexpr (ISet::test_strict) ASSERT_DEATH(s, ""); else { s; e; }
32+
#define ASSERT_STRICT_DEATH(s, e) if constexpr (ISet::test_strict) GTEST_SKIP(); else { s; e; }
3033

3134
typedef uint64_t IntervalValueType;
3235

0 commit comments

Comments
 (0)