diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py index aba9bd4ce3..2d5b03a7d5 100644 --- a/tests/integration/__init__.py +++ b/tests/integration/__init__.py @@ -1123,6 +1123,13 @@ class TestDaemon(object): TMP_PRODENV_STATE_TREE ] } + master_opts.setdefault('reactor', []).append( + { + 'salt/minion/*/start': [ + os.path.join(FILES, 'reactor-sync-minion.sls') + ], + } + ) for opts_dict in (master_opts, syndic_master_opts): if 'ext_pillar' not in opts_dict: opts_dict['ext_pillar'] = [] @@ -1565,6 +1572,7 @@ class TestDaemon(object): self.sync_minion_modules_('modules', targets, timeout=timeout) def sync_minion_grains(self, targets, timeout=None): + salt.utils.appendproctitle('SyncMinionGrains') self.sync_minion_modules_('grains', targets, timeout=timeout) diff --git a/tests/integration/files/reactor-sync-minion.sls b/tests/integration/files/reactor-sync-minion.sls new file mode 100644 index 0000000000..bfd89b5439 --- /dev/null +++ b/tests/integration/files/reactor-sync-minion.sls @@ -0,0 +1,3 @@ +sync_minion: + local.saltutil.sync_all: + - tgt: {{ data['id'] }}