|
53 | 53 | tr = Test.AddTestRun() |
54 | 54 | tr.MakeCurlCommand( |
55 | 55 | '"http://127.0.0.1:{0}/default/cache/10/{1}" -H "x-debug: x-cache,x-cache-key,via,x-cache-generation" --verbose'.format( |
56 | | - ts.Variables.port, objectid)) |
| 56 | + ts.Variables.port, objectid), |
| 57 | + uds_path=ts.Variables.uds_path) |
57 | 58 | tr.Processes.Default.ReturnCode = 0 |
58 | 59 | tr.Processes.Default.StartBefore(Test.Processes.ts) |
59 | 60 | tr.Processes.Default.Streams.All = "gold/miss_default-1.gold" |
|
62 | 63 | tr = Test.AddTestRun() |
63 | 64 | tr.MakeCurlCommand( |
64 | 65 | '"http://127.0.0.1:{0}/generation1/cache/10/{1}" -H "x-debug: x-cache,x-cache-key,via,x-cache-generation" --verbose -o /dev/null' |
65 | | - .format(ts.Variables.port, objectid)) |
| 66 | + .format(ts.Variables.port, objectid), |
| 67 | + uds_path=ts.Variables.uds_path) |
66 | 68 | tr.Processes.Default.ReturnCode = 0 |
67 | 69 | tr.Processes.Default.Streams.All = "gold/miss_gen1.gold" |
68 | 70 |
|
69 | 71 | # Same URL in generation 2 is still a MISS. |
70 | 72 | tr = Test.AddTestRun() |
71 | 73 | tr.MakeCurlCommand( |
72 | 74 | '"http://127.0.0.1:{0}/generation2/cache/10/{1}" -H "x-debug: x-cache,x-cache-key,via,x-cache-generation" --verbose -o /dev/null' |
73 | | - .format(ts.Variables.port, objectid)) |
| 75 | + .format(ts.Variables.port, objectid), |
| 76 | + uds_path=ts.Variables.uds_path) |
74 | 77 | tr.Processes.Default.ReturnCode = 0 |
75 | 78 | tr.Processes.Default.Streams.All = "gold/miss_gen2.gold" |
76 | 79 |
|
77 | 80 | # Second touch is a HIT for default. |
78 | 81 | tr = Test.AddTestRun() |
79 | 82 | tr.MakeCurlCommand( |
80 | 83 | '"http://127.0.0.1:{0}/default/cache/10/{1}" -H "x-debug: x-cache,x-cache-key,via,x-cache-generation" --verbose -o /dev/null' |
81 | | - .format(ts.Variables.port, objectid)) |
| 84 | + .format(ts.Variables.port, objectid), |
| 85 | + uds_path=ts.Variables.uds_path) |
82 | 86 | tr.Processes.Default.ReturnCode = 0 |
83 | 87 | tr.Processes.Default.Streams.All = "gold/hit_default-1.gold" |
84 | 88 |
|
85 | 89 | # Second touch is a HIT for generation1. |
86 | 90 | tr = Test.AddTestRun() |
87 | 91 | tr.MakeCurlCommand( |
88 | 92 | '"http://127.0.0.1:{0}/generation1/cache/10/{1}" -H "x-debug: x-cache,x-cache-key,via,x-cache-generation" --verbose -o /dev/null' |
89 | | - .format(ts.Variables.port, objectid)) |
| 93 | + .format(ts.Variables.port, objectid), |
| 94 | + uds_path=ts.Variables.uds_path) |
90 | 95 | tr.Processes.Default.ReturnCode = 0 |
91 | 96 | tr.Processes.Default.Streams.All = "gold/hit_gen1.gold" |
92 | 97 |
|
93 | 98 | # Second touch is a HIT for generation2. |
94 | 99 | tr = Test.AddTestRun() |
95 | 100 | tr.MakeCurlCommand( |
96 | 101 | '"http://127.0.0.1:{0}/generation2/cache/10/{1}" -H "x-debug: x-cache,x-cache-key,via,x-cache-generation" --verbose -o /dev/null' |
97 | | - .format(ts.Variables.port, objectid)) |
| 102 | + .format(ts.Variables.port, objectid), |
| 103 | + uds_path=ts.Variables.uds_path) |
98 | 104 | tr.Processes.Default.ReturnCode = 0 |
99 | 105 | tr.Processes.Default.Streams.All = "gold/hit_gen2.gold" |
0 commit comments