mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix multimaster tests when using zeromq transport
This commit is contained in:
parent
3b8db4e7d6
commit
f6ca55a2d7
2 changed files with 21 additions and 0 deletions
|
@ -2812,6 +2812,13 @@ class Minion(MinionBase):
|
|||
"Re-initialising subsystems for new master %s",
|
||||
self.opts["master"],
|
||||
)
|
||||
|
||||
self.req_channel = (
|
||||
salt.transport.client.AsyncReqChannel.factory(
|
||||
self.opts, io_loop=self.io_loop
|
||||
)
|
||||
)
|
||||
|
||||
# put the current schedule into the new loaders
|
||||
self.opts["schedule"] = self.schedule.option("schedule")
|
||||
(
|
||||
|
|
|
@ -275,5 +275,19 @@ salt/utils/vt.py:
|
|||
salt/wheel/*:
|
||||
- integration.wheel.test_client
|
||||
|
||||
salt/(minion\.py|channel/.+|transport/.+):
|
||||
- pytests.scenarios.multimaster.test_multimaster
|
||||
- pytests.scenarios.multimaster.test_offline_master
|
||||
- pytests.scenarios.multimaster.beacons.test_inotify
|
||||
- pytests.scenarios.multimaster.modules.test_test
|
||||
- pytests.scenarios.failover.multimaster.test_failover_master
|
||||
|
||||
tests/support/mock.py:
|
||||
- unit.test_mock
|
||||
|
||||
tests/pytests/scenarios/multimaster:
|
||||
- pytests.scenarios.multimaster.test_multimaster
|
||||
- pytests.scenarios.multimaster.test_offline_master
|
||||
- pytests.scenarios.multimaster.beacons.test_inotify
|
||||
- pytests.scenarios.multimaster.modules.test_test
|
||||
- pytests.scenarios.failover.multimaster.test_failover_master
|
||||
|
|
Loading…
Add table
Reference in a new issue