Zoltan Martonka has uploaded this change for review. (
http://gerrit.cloudera.org:8080/25035
Change subject: KUDU-3802 fix master-test build on old GCC
......................................................................
KUDU-3802 fix master-test build on old GCC
Bind the ASSERT_EVENTUALLY() lambda in ClusterLeaderSkewMetric to a
local instead of passing it inline. Older GCC (ubuntu18 toolchain)
resolves __LINE__ for tokens from a macro argument to the outer macro's
closing paren, so the two NO_FATALS() calls collided on the same gtest
goto label ("duplicate label 'gtest_label_testnofatal_917'"). Hoisting
the lambda out of the macro argument gives each NO_FATALS() its own line.
Change-Id: I18bc6154eb3831612ad33177d32f28cc846f4dbf
---
M src/kudu/master/master-test.cc
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/35/25035/1
--
To view, visit http://gerrit.cloudera.org:8080/25035
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I18bc6154eb3831612ad33177d32f28cc846f4dbf
Gerrit-Change-Number: 25035
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Martonka <[email protected]>