sure up possible race between upgrade and first check

(cherry picked from commit 867dc1a036)
This commit is contained in:
Zeeshan Lakhani 2015-11-18 12:50:14 -05:00
parent 1b34707750
commit dd033f9746

View File

@ -207,6 +207,8 @@ confirm() ->
%% Upgrade
yokozuna_rt:rolling_upgrade(Cluster, current),
[rt:wait_until_ready(ANode) || ANode <- Cluster],
[rt:assert_capability(ANode, ?YZ_CAP, true) || ANode <- Cluster],
[rt:assert_supported(rt:capability(ANode, all), ?YZ_CAP, [true, false]) ||
ANode <- Cluster],