stabilize REST tests

This commit is contained in:
Michael Zanetti 2017-10-08 03:07:48 +02:00
parent 87af2e1843
commit 006debf567
6 changed files with 6 additions and 0 deletions

View File

@ -81,6 +81,7 @@ void TestRestDeviceClasses::initTestCase()
config.port = 3333;
config.sslEnabled = true;
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
qApp->processEvents();
}
void TestRestDeviceClasses::getSupportedDevices()

View File

@ -90,6 +90,7 @@ void TestRestDevices::initTestCase()
config.port = 3333;
config.sslEnabled = true;
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
qApp->processEvents();
}
void TestRestDevices::getConfiguredDevices()

View File

@ -74,6 +74,7 @@ void TestRestLogging::initTestCase()
config.port = 3333;
config.sslEnabled = true;
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
qApp->processEvents();
}
void TestRestLogging::initLogs()

View File

@ -74,6 +74,7 @@ void TestRestPlugins::initTestCase()
config.port = 3333;
config.sslEnabled = true;
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
qApp->processEvents();
}
void TestRestPlugins::getPlugins()

View File

@ -95,6 +95,7 @@ void TestRestRules::initTestCase()
config.port = 3333;
config.sslEnabled = true;
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
qApp->processEvents();
}
void TestRestRules::cleanupMockHistory()

View File

@ -69,6 +69,7 @@ void TestRestVendors::initTestCase()
config.port = 3333;
config.sslEnabled = true;
GuhCore::instance()->configuration()->setWebServerConfiguration(config);
qApp->processEvents();
}
void TestRestVendors::getVendors()