diff options
author | Mårten Nordheim <[email protected]> | 2025-05-27 15:16:00 +0200 |
---|---|---|
committer | Mårten Nordheim <[email protected]> | 2025-05-28 13:21:49 +0200 |
commit | 998a40d39c2fab179dbb5fd4acdcac11043d3f18 (patch) | |
tree | 96bc5bf77da9632a1076b73973a92977c3217fe0 | |
parent | 225d4ba9e201b689555516af7bd969a05f98b1ff (diff) |
So that instances of the test can be ran in parallel without colliding.
Pick-to: 6.9
Change-Id: I9f4497eed9841650c5f52382ae5c20e4bd73355a
Reviewed-by: Lena Biliaieva <[email protected]>
Reviewed-by: Øystein Heskestad <[email protected]>
-rw-r--r-- | tests/auto/qhttpservermultithreaded/tst_qhttpservermultithreaded.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qhttpservermultithreaded/tst_qhttpservermultithreaded.cpp b/tests/auto/qhttpservermultithreaded/tst_qhttpservermultithreaded.cpp index 1ad364d..56e0a39 100644 --- a/tests/auto/qhttpservermultithreaded/tst_qhttpservermultithreaded.cpp +++ b/tests/auto/qhttpservermultithreaded/tst_qhttpservermultithreaded.cpp @@ -136,7 +136,7 @@ static int port = 0; #if QT_CONFIG(ssl) static int sslPort = 0; #endif -static QString local = u"tst_qhttpservermultithreaded_local"_s; +static const QString local = u"tst_qhttpservermultithreaded_local"_s + QString::number(QCoreApplication::applicationPid()); // Simple HTTP 1.1 client class LocalHttpClient { |