integration-tests: adjust priorities

When running with sanitizers:
```
26/95 systemd:integration-tests / TEST-21-DFUZZER                          OK 1517.75s
40/95 systemd:integration-tests / TEST-85-NETWORK-NetworkdDHCPClientTests  OK  779.18s
42/95 systemd:integration-tests / TEST-04-JOURNAL                          OK  716.17s
```
and without sanitizers:
```
44/95 systemd:integration-tests / TEST-85-NETWORK-NetworkdDHCPClientTests  OK  730.33s
29/95 systemd:integration-tests / TEST-64-UDEV-STORAGE-simultaneous_events OK  701.49s
40/95 systemd:integration-tests / TEST-04-JOURNAL                          OK  348.05s
```

So, let's set higher priorities only on these tests.
This commit is contained in:
Yu Watanabe
2025-05-09 16:56:48 +09:00
parent 48a092afbb
commit 71078275e8
4 changed files with 4 additions and 3 deletions

View File

@@ -6,5 +6,6 @@ integration_tests += [
integration_test_template + {
'name' : fs.name(meson.current_source_dir()),
'storage' : 'persistent',
'priority' : 10,
},
]

View File

@@ -146,6 +146,7 @@ udev_storage_tests += udev_storage_test_template + {
'name' : 'simultaneous_events',
'cmdline' : cmdline,
'qemu-args' : qemu_args,
'priority' : 10,
}
cmdline = []
@@ -256,7 +257,7 @@ foreach testcase : udev_storage_tests
},
},
'mkosi-args' : integration_test_template['mkosi-args'] + cmdline,
'priority' : 10,
'priority' : testcase.get('priority', 0),
'vm' : true,
# Suppress ASan error
# 'multipathd[1820]: ==1820==ERROR: AddressSanitizer: Joining already joined thread, aborting.'

View File

@@ -3,7 +3,6 @@
integration_tests += [
integration_test_template + {
'name' : fs.name(meson.current_source_dir()),
'priority' : 10,
# TODO: Remove when https://github.com/systemd/systemd/issues/35335 is fixed.
'coredump-exclude-regex' : '/systemd-localed',
},

View File

@@ -32,7 +32,7 @@ foreach testcase : [
'TEST_MATCH_TESTCASE': testcase,
}
},
'priority' : 10,
'priority' : testcase == 'NetworkdDHCPClientTests' ? 10 : 0,
'vm' : true,
},
]