[users] Just don't test restore-to-previous, too flaky

This commit is contained in:
Adriaan de Groot 2022-05-29 17:00:37 +02:00
parent b2f1a28504
commit 55f1df9563

View File

@ -140,8 +140,7 @@ UsersTests::testHostnamed()
// then this one should, also; or, if the previous one failed, then this
// changes to whatever-the-hostname-is, and systemd dbus seems to call that
// a success, as well (since nothing changes). So no failure-expectation here.
QEXPECT_FAIL( "", "Hostname changes are access-controlled (restore)", Continue );
QVERIFY( setSystemdHostname( m_originalHostName ) );
setSystemdHostname( m_originalHostName );
}
}