Skip to content

Commit c6eea86

Browse files
committed
One last ignore, this time in ccm code
1 parent 16f1bdb commit c6eea86

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/src/integration/integration.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ void Integration::SetUp() {
148148
data_center_nodes.push_back(number_dc2_nodes_);
149149

150150
if (is_ccm_requested_) {
151+
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
152+
# pragma GCC diagnostic push
153+
# pragma GCC diagnostic ignored "-Wcatch-value"
154+
#endif
151155
try {
152156
// Create and start the CCM cluster (if not already created)
153157
ccm_ = new CCM::Bridge(
@@ -186,10 +190,14 @@ void Integration::SetUp() {
186190
if (is_session_requested_ && is_ccm_start_requested_) {
187191
connect();
188192
}
189-
} catch (CCM::BridgeException be) {
193+
}
194+
catch (CCM::BridgeException be) {
190195
// Issue creating the CCM bridge instance (force failure)
191196
FAIL() << be.what();
192197
}
198+
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
199+
# pragma GCC diagnostic pop
200+
#endif
193201
}
194202
}
195203

0 commit comments

Comments
 (0)