diff --git a/test/TEST-71-HOSTNAME/meson.build b/test/TEST-71-HOSTNAME/meson.build index 8dec5f37e7..642c556b85 100644 --- a/test/TEST-71-HOSTNAME/meson.build +++ b/test/TEST-71-HOSTNAME/meson.build @@ -3,5 +3,11 @@ integration_tests += [ integration_test_template + { 'name' : fs.name(meson.current_source_dir()), + 'configuration' : integration_test_template['configuration'] + { + # Do not request user session, as it may trigger to start + # hostnamed in an unexpected timing, and the test may fail. + 'wants' : 'multi-user.target', + 'after' : 'multi-user.target', + }, }, ]