git.samba.org
/
tpot
/
pegasus
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3866d2a
)
BUG#: 5466
author
gs.keenan
<gs.keenan>
Tue, 26 Sep 2006 19:13:19 +0000
(19:13 +0000)
committer
gs.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
patch
|
blob
|
history
diff --git
a/src/Pegasus/Client/tests/Client/Client.cpp
b/src/Pegasus/Client/tests/Client/Client.cpp
index 7a11a37e1c79a5aab3a55ddaa3da5d351150fdba..3820a94f777ffa65e12938120cb2ccf1e10f8849 100644
(file)
--- a/
src/Pegasus/Client/tests/Client/Client.cpp
+++ b/
src/Pegasus/Client/tests/Client/Client.cpp
@@
-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);