cache test should explicitly check cache key from build 1 is included in results log
parent
5353abd16e
commit
5a5658f587
|
|
@ -47,6 +47,7 @@ describe('Cloud Runner Caching', () => {
|
||||||
const results2 = await CloudRunner.run(buildParameter2, baseImage2.toString());
|
const results2 = await CloudRunner.run(buildParameter2, baseImage2.toString());
|
||||||
CloudRunnerLogger.log(`run 2 succeeded`);
|
CloudRunnerLogger.log(`run 2 succeeded`);
|
||||||
|
|
||||||
|
expect(results2).toContain(buildParameter.cacheKey);
|
||||||
expect(results2).toContain(buildSucceededString);
|
expect(results2).toContain(buildSucceededString);
|
||||||
expect(results2).not.toContain('There is 0 files/dir in the cache pulled contents for Library');
|
expect(results2).not.toContain('There is 0 files/dir in the cache pulled contents for Library');
|
||||||
expect(results2).not.toContain('There is 0 files/dir in the cache pulled contents for LFS');
|
expect(results2).not.toContain('There is 0 files/dir in the cache pulled contents for LFS');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue