summaryrefslogtreecommitdiff
path: root/Tests/Server/tc_cache.json
blob: 74af6d93c0555830e29213756daf20054fec39cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[
{ "message": "Testing cache" },

{ "message": "Cache after first handshake is empty:" },
{ "handshake": {"major": 1, "sourceDirectory": "buildsystem1", "buildDirectory": "buildsystem1"} },
{ "send": { "type": "cache" } },
{ "validateCache": { "isEmpty": true } },

{ "message": "Cache after configure is populated:" },
{ "send": { "type": "configure" } },
{ "reply": { "type": "configure", "skipProgress":true } },
{ "send": { "type": "cache" } },
{ "validateCache": { "isEmpty": false } },

{ "message": "Handshake for existing cache requires buildDirectory only:" },
{ "reconnect": {} },
{ "handshake": {"major": 1, "sourceDirectory": "", "buildDirectory": "buildsystem1"} },

{ "message": "Cache after reconnect is again populated:" },
{ "send": { "type": "cache" } },
{ "validateCache": { "isEmpty": false } },

{ "message": "Everything ok." }
]