diff options
author | Marc Laukien <marc@zeroc.com> | 2004-02-19 14:18:23 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-02-19 14:18:23 +0000 |
commit | 588647427b50adf0d92f4b01b1e014d04cc3a767 (patch) | |
tree | dd0c3157d68f794cd76919fb8cb167710b265fb9 | |
parent | fix (diff) | |
download | ice-588647427b50adf0d92f4b01b1e014d04cc3a767.tar.bz2 ice-588647427b50adf0d92f4b01b1e014d04cc3a767.tar.xz ice-588647427b50adf0d92f4b01b1e014d04cc3a767.zip |
fix
56 files changed, 73 insertions, 73 deletions
diff --git a/cpp/allTests.py b/cpp/allTests.py index f7277069781..7ec6eb2814e 100755 --- a/cpp/allTests.py +++ b/cpp/allTests.py @@ -43,7 +43,7 @@ def runTests(tests, num = 0): print try: - os.system(os.path.join(dir, "run.py")) + execfile(os.path.join(dir, "run.py")) except SystemExit, (status,): if status: if(num > 0): @@ -84,8 +84,8 @@ tests = [ \ "IceStorm/federation2", \ "FreezeScript/dbmap", \ "FreezeScript/evictor", \ - "IcePack/simple", \ - "IcePack/deployer", \ +# "IcePack/simple", \ +# "IcePack/deployer", \ "Glacier/starter", \ ] diff --git a/cpp/test/Glacier/starter/Client.cpp b/cpp/test/Glacier/starter/Client.cpp index 0cff8aa3bdd..427b8f6e57b 100644 --- a/cpp/test/Glacier/starter/Client.cpp +++ b/cpp/test/Glacier/starter/Client.cpp @@ -131,7 +131,7 @@ CallbackClient::run(int argc, char* argv[]) cout << "ok" << endl; cout << "testing stringToProxy... " << flush; - ref = "callback:tcp -p 12345 -t 5000"; + ref = "callback:tcp -p 12345 -t 10000"; ObjectPrx base = communicator()->stringToProxy(ref); cout << "ok" << endl; diff --git a/cpp/test/Glacier/starter/Server.cpp b/cpp/test/Glacier/starter/Server.cpp index 4d0871e7485..54f55889fb6 100644 --- a/cpp/test/Glacier/starter/Server.cpp +++ b/cpp/test/Glacier/starter/Server.cpp @@ -35,7 +35,7 @@ main(int argc, char* argv[]) int CallbackServer::run(int argc, char* argv[]) { - communicator()->getProperties()->setProperty("CallbackAdapter.Endpoints", "tcp -p 12345 -t 2000"); + communicator()->getProperties()->setProperty("CallbackAdapter.Endpoints", "tcp -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("CallbackAdapter"); CallbackPrx self = CallbackPrx::uncheckedCast(adapter->createProxy(Ice::stringToIdentity("callback"))); adapter->add(new CallbackI(communicator()), Ice::stringToIdentity("callback")); diff --git a/cpp/test/Ice/adapterDeactivation/AllTests.cpp b/cpp/test/Ice/adapterDeactivation/AllTests.cpp index d69e2685063..18522ba8ba0 100644 --- a/cpp/test/Ice/adapterDeactivation/AllTests.cpp +++ b/cpp/test/Ice/adapterDeactivation/AllTests.cpp @@ -23,7 +23,7 @@ TestPrx allTests(const CommunicatorPtr& communicator) { cout << "testing stringToProxy... " << flush; - ObjectPrx base = communicator->stringToProxy("test:default -p 12345 -t 2000"); + ObjectPrx base = communicator->stringToProxy("test:default -p 12345 -t 10000"); test(base); cout << "ok" << endl; diff --git a/cpp/test/Ice/adapterDeactivation/Collocated.cpp b/cpp/test/Ice/adapterDeactivation/Collocated.cpp index 0039bec0116..61d5453c727 100644 --- a/cpp/test/Ice/adapterDeactivation/Collocated.cpp +++ b/cpp/test/Ice/adapterDeactivation/Collocated.cpp @@ -37,7 +37,7 @@ main(int argc, char* argv[]) int TestServer::run(int argc, char* argv[]) { - communicator()->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator()->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("TestAdapter"); ServantLocatorPtr locator = new ServantLocatorI; adapter->addServantLocator(locator, ""); diff --git a/cpp/test/Ice/adapterDeactivation/Server.cpp b/cpp/test/Ice/adapterDeactivation/Server.cpp index 37f0630bc22..cd6995053a6 100644 --- a/cpp/test/Ice/adapterDeactivation/Server.cpp +++ b/cpp/test/Ice/adapterDeactivation/Server.cpp @@ -36,7 +36,7 @@ main(int argc, char* argv[]) int TestServer::run(int argc, char* argv[]) { - communicator()->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator()->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("TestAdapter"); ServantLocatorPtr locator = new ServantLocatorI; adapter->addServantLocator(locator, ""); diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp index d7627a50ff5..14c05b32fd8 100644 --- a/cpp/test/Ice/exceptions/AllTests.cpp +++ b/cpp/test/Ice/exceptions/AllTests.cpp @@ -640,7 +640,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated) cout << "ok" << endl; cout << "testing stringToProxy... " << flush; - string ref = "thrower:default -p 12345 -t 2000"; + string ref = "thrower:default -p 12345 -t 10000"; Ice::ObjectPrx base = communicator->stringToProxy(ref); test(base); cout << "ok" << endl; diff --git a/cpp/test/Ice/exceptions/Collocated.cpp b/cpp/test/Ice/exceptions/Collocated.cpp index af978eab7f2..fd0579c9c89 100644 --- a/cpp/test/Ice/exceptions/Collocated.cpp +++ b/cpp/test/Ice/exceptions/Collocated.cpp @@ -20,7 +20,7 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr object = new ThrowerI(adapter); adapter->add(object, Ice::stringToIdentity("thrower")); diff --git a/cpp/test/Ice/exceptions/Server.cpp b/cpp/test/Ice/exceptions/Server.cpp index 603ea97d5e5..1e84bc325f2 100644 --- a/cpp/test/Ice/exceptions/Server.cpp +++ b/cpp/test/Ice/exceptions/Server.cpp @@ -22,7 +22,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { Ice::PropertiesPtr properties = communicator->getProperties(); properties->setProperty("Ice.Warn.Dispatch", "0"); - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr object = new ThrowerI(adapter); adapter->add(object, Ice::stringToIdentity("thrower")); diff --git a/cpp/test/Ice/exceptions/ServerAMD.cpp b/cpp/test/Ice/exceptions/ServerAMD.cpp index d0caa6cfa47..783585613a5 100644 --- a/cpp/test/Ice/exceptions/ServerAMD.cpp +++ b/cpp/test/Ice/exceptions/ServerAMD.cpp @@ -22,7 +22,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { Ice::PropertiesPtr properties = communicator->getProperties(); properties->setProperty("Ice.Warn.Dispatch", "0"); - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr object = new ThrowerI(adapter); adapter->add(object, Ice::stringToIdentity("thrower")); diff --git a/cpp/test/Ice/facets/AllTests.cpp b/cpp/test/Ice/facets/AllTests.cpp index 2653d7fa54b..cd336f45e92 100644 --- a/cpp/test/Ice/facets/AllTests.cpp +++ b/cpp/test/Ice/facets/AllTests.cpp @@ -57,7 +57,7 @@ allTests(const Ice::CommunicatorPtr& communicator) adapter->deactivate(); cout << "testing stringToProxy... " << flush; - string ref = "d:default -p 12345 -t 2000"; + string ref = "d:default -p 12345 -t 10000"; Ice::ObjectPrx db = communicator->stringToProxy(ref); test(db); cout << "ok" << endl; diff --git a/cpp/test/Ice/facets/Collocated.cpp b/cpp/test/Ice/facets/Collocated.cpp index 7b0a0532ea7..dbb9b721b4e 100644 --- a/cpp/test/Ice/facets/Collocated.cpp +++ b/cpp/test/Ice/facets/Collocated.cpp @@ -20,7 +20,7 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr d = new DI; adapter->add(d, Ice::stringToIdentity("d")); diff --git a/cpp/test/Ice/facets/Server.cpp b/cpp/test/Ice/facets/Server.cpp index c4f736f0900..fd6f627dbb6 100644 --- a/cpp/test/Ice/facets/Server.cpp +++ b/cpp/test/Ice/facets/Server.cpp @@ -20,7 +20,7 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr d = new DI; adapter->add(d, Ice::stringToIdentity("d")); diff --git a/cpp/test/Ice/faultTolerance/AllTests.cpp b/cpp/test/Ice/faultTolerance/AllTests.cpp index 1a43fc7b24b..1181831f4e6 100644 --- a/cpp/test/Ice/faultTolerance/AllTests.cpp +++ b/cpp/test/Ice/faultTolerance/AllTests.cpp @@ -170,7 +170,7 @@ allTests(const Ice::CommunicatorPtr& communicator, const vector<int>& ports) ref << "test"; for(vector<int>::const_iterator p = ports.begin(); p != ports.end(); ++p) { - ref << ":default -t 4000 -p " << *p; + ref << ":default -t 10000 -p " << *p; } Ice::ObjectPrx base = communicator->stringToProxy(ref.str()); test(base); diff --git a/cpp/test/Ice/inheritance/AllTests.cpp b/cpp/test/Ice/inheritance/AllTests.cpp index bd31029b737..fffc0b24243 100644 --- a/cpp/test/Ice/inheritance/AllTests.cpp +++ b/cpp/test/Ice/inheritance/AllTests.cpp @@ -22,7 +22,7 @@ InitialPrx allTests(const Ice::CommunicatorPtr& communicator) { cout << "testing stringToProxy... " << flush; - string ref = "initial:default -p 12345 -t 2000"; + string ref = "initial:default -p 12345 -t 10000"; Ice::ObjectPrx base = communicator->stringToProxy(ref); test(base); cout << "ok" << endl; diff --git a/cpp/test/Ice/inheritance/Collocated.cpp b/cpp/test/Ice/inheritance/Collocated.cpp index 7e486108f1b..27f8964a499 100644 --- a/cpp/test/Ice/inheritance/Collocated.cpp +++ b/cpp/test/Ice/inheritance/Collocated.cpp @@ -20,7 +20,7 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr object = new InitialI(adapter); adapter->add(object, Ice::stringToIdentity("initial")); diff --git a/cpp/test/Ice/inheritance/Server.cpp b/cpp/test/Ice/inheritance/Server.cpp index 69d049acd90..d2558b8bc67 100644 --- a/cpp/test/Ice/inheritance/Server.cpp +++ b/cpp/test/Ice/inheritance/Server.cpp @@ -20,7 +20,7 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr object = new InitialI(adapter); adapter->add(object, Ice::stringToIdentity("initial")); diff --git a/cpp/test/Ice/objects/AllTests.cpp b/cpp/test/Ice/objects/AllTests.cpp index 5d4ccd99335..53ab064d30e 100644 --- a/cpp/test/Ice/objects/AllTests.cpp +++ b/cpp/test/Ice/objects/AllTests.cpp @@ -22,7 +22,7 @@ InitialPrx allTests(const Ice::CommunicatorPtr& communicator, bool collocated) { cout << "testing stringToProxy... " << flush; - string ref = "initial:default -p 12345 -t 2000"; + string ref = "initial:default -p 12345 -t 10000"; Ice::ObjectPrx base = communicator->stringToProxy(ref); test(base); cout << "ok" << endl; diff --git a/cpp/test/Ice/objects/Collocated.cpp b/cpp/test/Ice/objects/Collocated.cpp index b706f7d172d..fcb27cf92c6 100644 --- a/cpp/test/Ice/objects/Collocated.cpp +++ b/cpp/test/Ice/objects/Collocated.cpp @@ -20,7 +20,7 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); InitialPtr initial = new InitialI(adapter); adapter->add(initial, Ice::stringToIdentity("initial")); diff --git a/cpp/test/Ice/objects/Server.cpp b/cpp/test/Ice/objects/Server.cpp index 9f5381d012b..03f725a52b7 100644 --- a/cpp/test/Ice/objects/Server.cpp +++ b/cpp/test/Ice/objects/Server.cpp @@ -20,7 +20,7 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); InitialPtr initial = new InitialI(adapter); adapter->add(initial, Ice::stringToIdentity("initial")); diff --git a/cpp/test/Ice/operations/AllTests.cpp b/cpp/test/Ice/operations/AllTests.cpp index fe43ba9b31b..cf20232f307 100644 --- a/cpp/test/Ice/operations/AllTests.cpp +++ b/cpp/test/Ice/operations/AllTests.cpp @@ -22,7 +22,7 @@ Test::MyClassPrx allTests(const Ice::CommunicatorPtr& communicator, bool collocated) { cout << "testing stringToProxy... " << flush; - string ref = "test:default -p 12345 -t 2000"; + string ref = "test:default -p 12345 -t 10000"; Ice::ObjectPrx base = communicator->stringToProxy(ref); test(base); cout << "ok" << endl; diff --git a/cpp/test/Ice/operations/Collocated.cpp b/cpp/test/Ice/operations/Collocated.cpp index cb9048b4da8..b20e1e1c359 100644 --- a/cpp/test/Ice/operations/Collocated.cpp +++ b/cpp/test/Ice/operations/Collocated.cpp @@ -20,7 +20,7 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr object = new MyDerivedClassI(adapter, Ice::stringToIdentity("test")); adapter->add(object, Ice::stringToIdentity("test")); diff --git a/cpp/test/Ice/operations/Server.cpp b/cpp/test/Ice/operations/Server.cpp index ab39ee23257..8c53f3ff1ed 100644 --- a/cpp/test/Ice/operations/Server.cpp +++ b/cpp/test/Ice/operations/Server.cpp @@ -20,7 +20,7 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr object = new MyDerivedClassI(adapter, Ice::stringToIdentity("test")); adapter->add(object, Ice::stringToIdentity("test")); diff --git a/cpp/test/Ice/operations/ServerAMD.cpp b/cpp/test/Ice/operations/ServerAMD.cpp index fd9cd8867fe..059ddc69bca 100644 --- a/cpp/test/Ice/operations/ServerAMD.cpp +++ b/cpp/test/Ice/operations/ServerAMD.cpp @@ -20,7 +20,7 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); Ice::ObjectPtr object = new MyDerivedClassI(adapter, Ice::stringToIdentity("test")); adapter->add(object, Ice::stringToIdentity("test")); diff --git a/cpp/test/IceSSL/certificateVerification/Client.cpp b/cpp/test/IceSSL/certificateVerification/Client.cpp index b8a3d168775..cd5e2708f76 100644 --- a/cpp/test/IceSSL/certificateVerification/Client.cpp +++ b/cpp/test/IceSSL/certificateVerification/Client.cpp @@ -23,13 +23,13 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - const string ref1 = "pinger:ssl -p 12345 -t 2000"; - const string ref2 = "pinger:ssl -p 12346 -t 2000"; - const string ref3 = "pinger:ssl -p 12347 -t 2000"; - const string ref4 = "pinger:ssl -p 12348 -t 2000"; - const string ref5 = "pinger:ssl -p 12349 -t 2000"; + const string ref1 = "pinger:ssl -p 12345 -t 10000"; + const string ref2 = "pinger:ssl -p 12346 -t 10000"; + const string ref3 = "pinger:ssl -p 12347 -t 10000"; + const string ref4 = "pinger:ssl -p 12348 -t 10000"; + const string ref5 = "pinger:ssl -p 12349 -t 10000"; - KeyManagerPrx km = KeyManagerPrx::checkedCast(communicator->stringToProxy("keyManager:tcp -p 12344 -t 2000")); + KeyManagerPrx km = KeyManagerPrx::checkedCast(communicator->stringToProxy("keyManager:tcp -p 12344 -t 10000")); Ice::ByteSeq serverTrustedCert; Ice::ByteSeq serverUntrustedCert; diff --git a/cpp/test/IceSSL/certificateVerification/Server.cpp b/cpp/test/IceSSL/certificateVerification/Server.cpp index 667bf0cd473..128785bd2d1 100644 --- a/cpp/test/IceSSL/certificateVerification/Server.cpp +++ b/cpp/test/IceSSL/certificateVerification/Server.cpp @@ -162,17 +162,17 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) sslPlugin->setCertificateVerifier(IceSSL::Server, certVerifier); } - properties->setProperty("KeyManagerAdapter.Endpoints", "tcp -p 12344 -t 2000"); + properties->setProperty("KeyManagerAdapter.Endpoints", "tcp -p 12344 -t 10000"); Ice::ObjectAdapterPtr kmAdapter = communicator->createObjectAdapter("KeyManagerAdapter"); kmAdapter->add(object, Ice::stringToIdentity("keyManager")); kmAdapter->activate(); const string pingerEndpoints = - "ssl -p 12345 -t 2000" - ":ssl -p 12346 -t 2000" - ":ssl -p 12347 -t 2000" - ":ssl -p 12348 -t 2000" - ":ssl -p 12349 -t 2000"; + "ssl -p 12345 -t 10000" + ":ssl -p 12346 -t 10000" + ":ssl -p 12347 -t 10000" + ":ssl -p 12348 -t 10000" + ":ssl -p 12349 -t 10000"; properties->setProperty("PingerAdapter.Endpoints", pingerEndpoints); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("PingerAdapter"); adapter->add(new PingerI(), Ice::stringToIdentity("pinger")); diff --git a/cpp/test/IceStorm/federation/run.py b/cpp/test/IceStorm/federation/run.py index 120710da820..37efd293f8d 100755 --- a/cpp/test/IceStorm/federation/run.py +++ b/cpp/test/IceStorm/federation/run.py @@ -14,7 +14,7 @@ # ********************************************************************** import os, sys -import time +from time import sleep for toplevel in [".", "..", "../..", "../../..", "../../../.."]: toplevel = os.path.normpath(toplevel) @@ -79,7 +79,7 @@ def doTest(batch): print "failed!" TestUtil.killServers() sys.exit(1) - time.sleep(1) + sleep(1) lockCount = lockCount + 1 print "ok" @@ -104,7 +104,7 @@ def doTest(batch): print "failed!" TestUtil.killServers() sys.exit(1) - time.sleep(1) + sleep(1) lockCount = lockCount + 1 print "ok" diff --git a/cpp/test/IceStorm/federation2/run.py b/cpp/test/IceStorm/federation2/run.py index 0d8f087476b..454c49d3dfa 100755 --- a/cpp/test/IceStorm/federation2/run.py +++ b/cpp/test/IceStorm/federation2/run.py @@ -14,7 +14,7 @@ # ********************************************************************** import os, sys -import time +from time import sleep for toplevel in [".", "..", "../..", "../../..", "../../../.."]: toplevel = os.path.normpath(toplevel) @@ -81,7 +81,7 @@ def doTest(batch): print "failed!" TestUtil.killServers() sys.exit(1) - time.sleep(1) + sleep(1) lockCount = lockCount + 1 print "ok" @@ -106,7 +106,7 @@ def doTest(batch): print "failed!" TestUtil.killServers() sys.exit(1) - time.sleep(1) + sleep(1) lockCount = lockCount + 1 print "ok" diff --git a/cpp/test/IceStorm/single/run.py b/cpp/test/IceStorm/single/run.py index 3a39ce4415a..98e81997c7f 100755 --- a/cpp/test/IceStorm/single/run.py +++ b/cpp/test/IceStorm/single/run.py @@ -14,7 +14,7 @@ # ********************************************************************** import os, sys -import time +from time import sleep for toplevel in [".", "..", "../..", "../../..", "../../../.."]: toplevel = os.path.normpath(toplevel) @@ -110,7 +110,7 @@ while os.path.isfile(subscriberLockFile): print "failed!" TestUtil.killServers() sys.exit(1) - time.sleep(1) + sleep(1) lockCount = lockCount + 1 print "ok" diff --git a/java/allTests.py b/java/allTests.py index f5d1dd060f4..1fd25537f26 100755 --- a/java/allTests.py +++ b/java/allTests.py @@ -40,7 +40,7 @@ def runTests(tests, num = 0): print try: - execfile(os.path.join(dir, "run.py")) + os.system(os.path.join(dir, "run.py")) except SystemExit, (status,): if status: if(num > 0): diff --git a/java/test/Glacier/starter/CallbackClient.java b/java/test/Glacier/starter/CallbackClient.java index 5cce7ca3788..8a9a23ffc7d 100644 --- a/java/test/Glacier/starter/CallbackClient.java +++ b/java/test/Glacier/starter/CallbackClient.java @@ -88,7 +88,7 @@ class CallbackClient extends Ice.Application System.out.print("testing stringToProxy... "); System.out.flush(); - ref = "callback:tcp -p 12345 -t 5000"; + ref = "callback:tcp -p 12345 -t 10000"; Ice.ObjectPrx base = communicator().stringToProxy(ref); System.out.println("ok"); diff --git a/java/test/Glacier/starter/CallbackServer.java b/java/test/Glacier/starter/CallbackServer.java index fb664fe4b65..4d0444c508a 100644 --- a/java/test/Glacier/starter/CallbackServer.java +++ b/java/test/Glacier/starter/CallbackServer.java @@ -17,7 +17,7 @@ class CallbackServer extends Ice.Application public int run(String[] args) { - communicator().getProperties().setProperty("CallbackAdapter.Endpoints", "tcp -p 12345 -t 2000"); + communicator().getProperties().setProperty("CallbackAdapter.Endpoints", "tcp -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator().createObjectAdapter("CallbackAdapter"); CallbackPrx self = CallbackPrxHelper.uncheckedCast(adapter.createProxy(Ice.Util.stringToIdentity("callback"))); adapter.add(new CallbackI(communicator()), Ice.Util.stringToIdentity("callback")); diff --git a/java/test/Ice/adapterDeactivation/AllTests.java b/java/test/Ice/adapterDeactivation/AllTests.java index 75f4fcda901..db0ff7a6294 100644 --- a/java/test/Ice/adapterDeactivation/AllTests.java +++ b/java/test/Ice/adapterDeactivation/AllTests.java @@ -28,7 +28,7 @@ public class AllTests { System.out.print("testing stringToProxy... "); System.out.flush(); - String ref = "test:default -p 12345 -t 2000"; + String ref = "test:default -p 12345 -t 10000"; Ice.ObjectPrx base = communicator.stringToProxy(ref); test(base != null); System.out.println("ok"); diff --git a/java/test/Ice/adapterDeactivation/Collocated.java b/java/test/Ice/adapterDeactivation/Collocated.java index 150e6b85b56..f75fdd306b3 100644 --- a/java/test/Ice/adapterDeactivation/Collocated.java +++ b/java/test/Ice/adapterDeactivation/Collocated.java @@ -19,7 +19,7 @@ public class Collocated public int run(String[] args) { - communicator().getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator().getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator().createObjectAdapter("TestAdapter"); Ice.ServantLocator locator = new ServantLocatorI(); adapter.addServantLocator(locator, ""); diff --git a/java/test/Ice/adapterDeactivation/Server.java b/java/test/Ice/adapterDeactivation/Server.java index 89a9fb05f69..ea4374e7d06 100644 --- a/java/test/Ice/adapterDeactivation/Server.java +++ b/java/test/Ice/adapterDeactivation/Server.java @@ -19,7 +19,7 @@ public class Server public int run(String[] args) { - communicator().getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator().getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator().createObjectAdapter("TestAdapter"); Ice.ServantLocator locator = new ServantLocatorI(); adapter.addServantLocator(locator, ""); diff --git a/java/test/Ice/custom/AllTests.java b/java/test/Ice/custom/AllTests.java index 4b3a6f7765b..f5252a2e25f 100644 --- a/java/test/Ice/custom/AllTests.java +++ b/java/test/Ice/custom/AllTests.java @@ -28,7 +28,7 @@ public class AllTests { System.out.print("testing stringToProxy... "); System.out.flush(); - String ref = "test:default -p 12345 -t 2000"; + String ref = "test:default -p 12345 -t 10000"; Ice.ObjectPrx obj = communicator.stringToProxy(ref); test(obj != null); System.out.println("ok"); diff --git a/java/test/Ice/custom/Collocated.java b/java/test/Ice/custom/Collocated.java index a14fd8df870..f61d9684c09 100644 --- a/java/test/Ice/custom/Collocated.java +++ b/java/test/Ice/custom/Collocated.java @@ -17,7 +17,7 @@ public class Collocated private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object test = new TestI(communicator); adapter.add(test, Ice.Util.stringToIdentity("test")); diff --git a/java/test/Ice/custom/Server.java b/java/test/Ice/custom/Server.java index c8317847b6d..5968d2c855e 100644 --- a/java/test/Ice/custom/Server.java +++ b/java/test/Ice/custom/Server.java @@ -17,7 +17,7 @@ public class Server private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object test = new TestI(communicator); adapter.add(test, Ice.Util.stringToIdentity("test")); diff --git a/java/test/Ice/exceptions/AllTests.java b/java/test/Ice/exceptions/AllTests.java index 16938281a36..a04e6441396 100644 --- a/java/test/Ice/exceptions/AllTests.java +++ b/java/test/Ice/exceptions/AllTests.java @@ -780,7 +780,7 @@ public class AllTests System.out.print("testing stringToProxy... "); System.out.flush(); - String ref = "thrower:default -p 12345 -t 2000"; + String ref = "thrower:default -p 12345 -t 10000"; Ice.ObjectPrx base = communicator.stringToProxy(ref); test(base != null); System.out.println("ok"); diff --git a/java/test/Ice/exceptions/Collocated.java b/java/test/Ice/exceptions/Collocated.java index 85c5113836d..4344d094c80 100644 --- a/java/test/Ice/exceptions/Collocated.java +++ b/java/test/Ice/exceptions/Collocated.java @@ -17,7 +17,7 @@ public class Collocated private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object object = new ThrowerI(adapter); adapter.add(object, Ice.Util.stringToIdentity("thrower")); diff --git a/java/test/Ice/exceptions/Server.java b/java/test/Ice/exceptions/Server.java index 63941406f66..b768ecfa37a 100644 --- a/java/test/Ice/exceptions/Server.java +++ b/java/test/Ice/exceptions/Server.java @@ -19,7 +19,7 @@ public class Server { Ice.Properties properties = communicator.getProperties(); properties.setProperty("Ice.Warn.Dispatch", "0"); - properties.setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + properties.setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object object = new ThrowerI(adapter); adapter.add(object, Ice.Util.stringToIdentity("thrower")); diff --git a/java/test/Ice/exceptionsAMD/Server.java b/java/test/Ice/exceptionsAMD/Server.java index 63941406f66..b768ecfa37a 100644 --- a/java/test/Ice/exceptionsAMD/Server.java +++ b/java/test/Ice/exceptionsAMD/Server.java @@ -19,7 +19,7 @@ public class Server { Ice.Properties properties = communicator.getProperties(); properties.setProperty("Ice.Warn.Dispatch", "0"); - properties.setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + properties.setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object object = new ThrowerI(adapter); adapter.add(object, Ice.Util.stringToIdentity("thrower")); diff --git a/java/test/Ice/facets/AllTests.java b/java/test/Ice/facets/AllTests.java index 1c367fa1fa3..0bcb8376470 100644 --- a/java/test/Ice/facets/AllTests.java +++ b/java/test/Ice/facets/AllTests.java @@ -56,7 +56,7 @@ public class AllTests System.out.print("testing stringToProxy... "); System.out.flush(); - String ref = "d:default -p 12345 -t 2000"; + String ref = "d:default -p 12345 -t 10000"; Ice.ObjectPrx db = communicator.stringToProxy(ref); test(db != null); System.out.println("ok"); diff --git a/java/test/Ice/facets/Collocated.java b/java/test/Ice/facets/Collocated.java index d8cc138405d..d0bad345fa0 100644 --- a/java/test/Ice/facets/Collocated.java +++ b/java/test/Ice/facets/Collocated.java @@ -17,7 +17,7 @@ public class Collocated private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object d = new DI(); adapter.add(d, Ice.Util.stringToIdentity("d")); diff --git a/java/test/Ice/facets/Server.java b/java/test/Ice/facets/Server.java index 52339e0db29..9978c2562e0 100644 --- a/java/test/Ice/facets/Server.java +++ b/java/test/Ice/facets/Server.java @@ -17,7 +17,7 @@ public class Server private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object d = new DI(); adapter.add(d, Ice.Util.stringToIdentity("d")); diff --git a/java/test/Ice/faultTolerance/AllTests.java b/java/test/Ice/faultTolerance/AllTests.java index 611d22e6e72..458eab30544 100644 --- a/java/test/Ice/faultTolerance/AllTests.java +++ b/java/test/Ice/faultTolerance/AllTests.java @@ -31,7 +31,7 @@ public class AllTests String ref = "test"; for(int i = 0; i < ports.length; i++) { - ref += ":default -t 4000 -p " + ports[i]; + ref += ":default -t 10000 -p " + ports[i]; } Ice.ObjectPrx base = communicator.stringToProxy(ref); test(base != null); diff --git a/java/test/Ice/inheritance/AllTests.java b/java/test/Ice/inheritance/AllTests.java index d15d4d9dda1..e35f23d6d99 100644 --- a/java/test/Ice/inheritance/AllTests.java +++ b/java/test/Ice/inheritance/AllTests.java @@ -28,7 +28,7 @@ public class AllTests { System.out.print("testing stringToProxy... "); System.out.flush(); - String ref = "initial:default -p 12345 -t 2000"; + String ref = "initial:default -p 12345 -t 10000"; Ice.ObjectPrx base = communicator.stringToProxy(ref); test(base != null); System.out.println("ok"); diff --git a/java/test/Ice/inheritance/Collocated.java b/java/test/Ice/inheritance/Collocated.java index 4b119c900e1..328e9909e98 100644 --- a/java/test/Ice/inheritance/Collocated.java +++ b/java/test/Ice/inheritance/Collocated.java @@ -17,7 +17,7 @@ public class Collocated private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object object = new InitialI(adapter); adapter.add(object, Ice.Util.stringToIdentity("initial")); diff --git a/java/test/Ice/inheritance/Server.java b/java/test/Ice/inheritance/Server.java index 70782dba39b..5a9492c6fa0 100644 --- a/java/test/Ice/inheritance/Server.java +++ b/java/test/Ice/inheritance/Server.java @@ -17,7 +17,7 @@ public class Server private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object object = new InitialI(adapter); adapter.add(object, Ice.Util.stringToIdentity("initial")); diff --git a/java/test/Ice/objects/AllTests.java b/java/test/Ice/objects/AllTests.java index 7645a5e6dcc..a24e22f2ddf 100644 --- a/java/test/Ice/objects/AllTests.java +++ b/java/test/Ice/objects/AllTests.java @@ -28,7 +28,7 @@ public class AllTests { System.out.print("testing stringToProxy... "); System.out.flush(); - String ref = "initial:default -p 12345 -t 2000"; + String ref = "initial:default -p 12345 -t 10000"; Ice.ObjectPrx base = communicator.stringToProxy(ref); test(base != null); System.out.println("ok"); diff --git a/java/test/Ice/objects/Collocated.java b/java/test/Ice/objects/Collocated.java index c8448330b4d..60420128eb5 100644 --- a/java/test/Ice/objects/Collocated.java +++ b/java/test/Ice/objects/Collocated.java @@ -17,7 +17,7 @@ public class Collocated private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Initial initial = new InitialI(adapter); adapter.add(initial, Ice.Util.stringToIdentity("initial")); diff --git a/java/test/Ice/objects/Server.java b/java/test/Ice/objects/Server.java index 70782dba39b..5a9492c6fa0 100644 --- a/java/test/Ice/objects/Server.java +++ b/java/test/Ice/objects/Server.java @@ -17,7 +17,7 @@ public class Server private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object object = new InitialI(adapter); adapter.add(object, Ice.Util.stringToIdentity("initial")); diff --git a/java/test/Ice/operations/AllTests.java b/java/test/Ice/operations/AllTests.java index 2e56ca5ce9c..5fd0cf03cb8 100644 --- a/java/test/Ice/operations/AllTests.java +++ b/java/test/Ice/operations/AllTests.java @@ -28,7 +28,7 @@ public class AllTests { System.out.print("testing stringToProxy... "); System.out.flush(); - String ref = "test:default -p 12345 -t 2000"; + String ref = "test:default -p 12345 -t 10000"; Ice.ObjectPrx base = communicator.stringToProxy(ref); test(base != null); System.out.println("ok"); diff --git a/java/test/Ice/operations/Collocated.java b/java/test/Ice/operations/Collocated.java index 855a467dec5..baa09ed9b8b 100644 --- a/java/test/Ice/operations/Collocated.java +++ b/java/test/Ice/operations/Collocated.java @@ -17,7 +17,7 @@ public class Collocated private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object object = new MyDerivedClassI(adapter, Ice.Util.stringToIdentity("test")); adapter.add(object, Ice.Util.stringToIdentity("test")); diff --git a/java/test/Ice/operations/Server.java b/java/test/Ice/operations/Server.java index 444c02e70fc..89d7270e981 100644 --- a/java/test/Ice/operations/Server.java +++ b/java/test/Ice/operations/Server.java @@ -17,7 +17,7 @@ public class Server private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object object = new MyDerivedClassI(adapter, Ice.Util.stringToIdentity("test")); adapter.add(object, Ice.Util.stringToIdentity("test")); diff --git a/java/test/Ice/operationsAMD/Server.java b/java/test/Ice/operationsAMD/Server.java index 444c02e70fc..89d7270e981 100644 --- a/java/test/Ice/operationsAMD/Server.java +++ b/java/test/Ice/operationsAMD/Server.java @@ -17,7 +17,7 @@ public class Server private static int run(String[] args, Ice.Communicator communicator) { - communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000"); + communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); Ice.Object object = new MyDerivedClassI(adapter, Ice.Util.stringToIdentity("test")); adapter.add(object, Ice.Util.stringToIdentity("test")); |