[cpp-sp] 03/03: Windows Sleep() function takes milliseconds

Rod Widdowson rdw at steadingsoftware.com
Fri Jan 10 11:40:21 UTC 2025


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=45242ca4420f8401740d3caefbedce1eb06012d8

commit 45242ca4420f8401740d3caefbedce1eb06012d8
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Jan 10 11:17:17 2025 +0000

    Windows Sleep() function takes milliseconds
---
 tests/util/ReloadableXMLFileTests.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/util/ReloadableXMLFileTests.cpp b/tests/util/ReloadableXMLFileTests.cpp
index 6e916a7a..00755522 100644
--- a/tests/util/ReloadableXMLFileTests.cpp
+++ b/tests/util/ReloadableXMLFileTests.cpp
@@ -189,10 +189,9 @@ BOOST_FIXTURE_TEST_CASE(ReloadableFileTest_external_valid, ReloadableXMLFileFixt
     time_t ts1 = dummy.getLastModified();
     BOOST_CHECK_GT(ts1, 0);
     dummy.unlock_shared();
-
     dummy.forceReload();
 #ifdef WIN32
-    Sleep(2);
+    Sleep(2000);
 #else
     sleep(2);
 #endif // WIN32

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list