})
return command
-def get_kprobes_test_cmd():
+def get_kprobes_test_cmd(round_nb):
command = OrderedDict({
'command': 'lava_test_shell',
'parameters': {
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/system-tests/kprobe-fuzzing-tests.yml'
+ 'testdef': 'lava/system-tests/kprobe-fuzzing-tests.yml',
+ 'parameters': { 'ROUND_NB': str(round_nb) }
}
- ],
- 'timeout': 7200
+ ],
+ 'timeout': 1000
}
})
return command
return -1
j['actions'].append(get_config_cmd('kvm'))
j['actions'].append(get_kprobes_generate_data_cmd())
- j['actions'].append(get_kprobes_test_cmd())
+ for i in range(10):
+ j['actions'].append(get_kprobes_test_cmd(round_nb=i))
j['actions'].append(get_results_cmd(stream_name='tests-kernel'))
else:
assert False, 'Unknown test type'