BUG#: 5466
authorgs.keenan <gs.keenan>
Tue, 26 Sep 2006 19:13:19 +0000 (19:13 +0000)
committergs.keenan <gs.keenan>
Tue, 26 Sep 2006 19:13:19 +0000 (19:13 +0000)
TITLE: TestPegClientClient fails on slower systems.

DESCRIPTION: Extend connection timeout to 2 minutes.

src/Pegasus/Client/tests/Client/Client.cpp

index 7a11a37e1c79a5aab3a55ddaa3da5d351150fdba..3820a94f777ffa65e12938120cb2ccf1e10f8849 100644 (file)
@@ -394,6 +394,12 @@ int main(int argc, char** argv)
     {
        CIMClient client;
 
+        //
+        // On slower systems, some of the tests require more time.
+        // Set the timeout to be 2 minutes (20 seconds is default).
+        //
+        client.setTimeout(1000 * 120);
+
         client.connectLocal();
 
        TestGetClass(client);