cache test should explicitly check cache key from build 1 is included in results log

pull/461/head
Frostebite 2022-09-22 22:44:51 +01:00
parent 5353abd16e
commit 5a5658f587
1 changed files with 1 additions and 0 deletions

View File

@ -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');