File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,10 @@ void Integration::SetUp() {
148
148
data_center_nodes.push_back (number_dc2_nodes_);
149
149
150
150
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
151
155
try {
152
156
// Create and start the CCM cluster (if not already created)
153
157
ccm_ = new CCM::Bridge (
@@ -186,10 +190,14 @@ void Integration::SetUp() {
186
190
if (is_session_requested_ && is_ccm_start_requested_) {
187
191
connect ();
188
192
}
189
- } catch (CCM::BridgeException be) {
193
+ }
194
+ catch (CCM::BridgeException be) {
190
195
// Issue creating the CCM bridge instance (force failure)
191
196
FAIL () << be.what ();
192
197
}
198
+ #if defined(__GNUC__) || defined(__INTEL_COMPILER)
199
+ # pragma GCC diagnostic pop
200
+ #endif
193
201
}
194
202
}
195
203
You can’t perform that action at this time.
0 commit comments