dea99888c1
add patches to fix cts api wrong issues OBS-URL: https://build.opensuse.org/request/show/214141 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=44
18 lines
1.0 KiB
Diff
18 lines
1.0 KiB
Diff
Index: corosync-2.3.2/cts/corolab.py
|
|
===================================================================
|
|
--- corosync-2.3.2.orig/cts/corolab.py
|
|
+++ corosync-2.3.2/cts/corolab.py
|
|
@@ -308,10 +308,10 @@ if __name__ == '__main__':
|
|
elif Environment["all-once"] or NumIter == 0:
|
|
NumIter = len(Tests)
|
|
scenario = AllOnce(
|
|
- cm, [ InitClusterManager(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
|
|
+ cm, [ BootCluster(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
|
|
else:
|
|
scenario = RandomTests(
|
|
- cm, [ InitClusterManager(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
|
|
+ cm, [ BootCluster(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
|
|
|
|
Environment.log(">>>>>>>>>>>>>>>> BEGINNING " + repr(NumIter) + " TESTS ")
|
|
Environment.log("Stack: %s" % Environment["Stack"])
|