Skip to content

Commit e4147a0

Browse files
committed
test/common: skip google tests which create core dumps in test_interval_set
CI Pipelines are being broken because this test is creating a number of core dumps. This does not make the test fail, but it does create some core dumps. This appears to be breaking something in the CI pipeline. This commit is a workaround and I will find a better solution later. Fixes: https://tracker.ceph.com/issues/70543 Signed-off-by: Alex Ainscow <[email protected]>
1 parent eb4c3bf commit e4147a0

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)