]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/test/TestShuttle.C
fix for bug #66294
[u/mrichter/AliRoot.git] / SHUTTLE / test / TestShuttle.C
index 55b26247fbaa49b0e3b6c22e049927e68699fcc6..7bdd8a4c0c7f56af9e3c347b16c54405754c1d87 100644 (file)
@@ -2,20 +2,23 @@ void TestShuttle() {
 
        gSystem->Load("libSHUTTLE");
         gSystem->Load("libRLDAP");
-
        gSystem->Load("libTest");
 
        AliLog::SetGlobalDebugLevel(1);
 
-        AliShuttleConfig config("localhost", 5000);
+       AliShuttleConfig config("pcalice290.cern.ch", 389, "o=alice,dc=cern,dc=ch");
         config.Print();
 
-       AliShuttle shuttle(&config, "local://~/temp/DCS");
-       shuttle.RegisterCDBPreProcessor(new TestITSPreProcessor());
+       AliShuttleTrigger trigger(&config);
+
+       AliShuttle* shuttle = trigger.GetShuttle();
+       TestITSPreprocessor *itsPrep = new AliITSPreprocessor("ITS",shuttle);
+
+       trigger.CollectNew();
        
-       TTimeStamp currentTime;
+/*     TTimeStamp currentTime;
        shuttle.Process(1, currentTime.GetSec() - 18 * 3600, 
-               currentTime.GetSec());
+               currentTime.GetSec());*/
 }