]>
Commit | Line | Data |
---|---|---|
73abe331 | 1 | void TestShuttle() { |
2 | ||
3 | gSystem->Load("libSHUTTLE"); | |
4 | gSystem->Load("libRLDAP"); | |
5 | ||
6 | gSystem->Load("libTest"); | |
7 | ||
8 | AliLog::SetGlobalDebugLevel(1); | |
9 | ||
10 | AliShuttleConfig config("localhost", 5000); | |
11 | config.Print(); | |
12 | ||
13 | AliShuttle shuttle(&config, "local://~/temp/DCS"); | |
14 | shuttle.RegisterCDBPreProcessor(new TestITSPreProcessor()); | |
15 | ||
16 | TTimeStamp currentTime; | |
17 | shuttle.Process(1, currentTime.GetSec() - 18 * 3600, | |
18 | currentTime.GetSec()); | |
19 | } | |
20 | ||
21 |