gardenlinux / gardenlinux

Garden Linux - The best Linux for Gardener nodes!
https://gardenlinux.io
MIT License
158 stars 69 forks source link

fix test that checks if systemd has failed units #2253

Open Vincinator opened 3 months ago

Vincinator commented 3 months ago

The features/base/test/test_systemd test does not detect (all) failed units. Currently, if we manually verify on a booted GL image, we get the following failed units:

Vincinator commented 3 months ago

Maybe this is a timing issue. Test could run before the first units have failed.

=> I suspect that this is a timing issue. The tests executed as part of the platform tests is executed before the system is fully booted, so that the faulty units have not failed yet.