Skip to content

Commit 0cea9b2

Browse files
committed
CiNetworkTest: Fix warn-only option
Warn-only was set with the wrong command line option (timeout). Fix it. Change-Id: I4d8e33675f54ac959bc0a8a3374a4897cf57bd5e Reviewed-by: Timur Pocheptsov <[email protected]> Reviewed-by: Dimitrios Apostolou <[email protected]>
1 parent f382968 commit 0cea9b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/network/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
5454
constexpr QLatin1StringView defaultFile(":/tests/DNSLookup.json");
5555
const QString input = parser.isSet(inputOption) ? parser.value(inputOption) : defaultFile;
5656
const int timeout = parser.value(timeoutOption).toInt();
57-
const bool warnOnly = parser.isSet(timeoutOption);
57+
const bool warnOnly = parser.isSet(warnOnlyOption);
5858
const bool showProgress = parser.isSet(showProgressOption);
5959

6060
NetworkTest::Verbosity verbosity = NetworkTest::Verbosity::Summary;

0 commit comments

Comments
 (0)