Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frostebite committed Jan 29, 2024
1 parent 48c6eef commit 1a36e77
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe('Cloud Runner Caching', () => {
expect(results).toContain(libraryString);
expect(results).toContain(buildSucceededString);
expect(results).not.toContain(cachePushFail);
expect(results.split(buildSucceededString).length - 1).toEqual(4);

CloudRunnerLogger.log(`run 1 succeeded`);

Expand Down Expand Up @@ -81,8 +82,10 @@ describe('Cloud Runner Caching', () => {

expect(build2ContainsCacheKey).toBeTruthy();
expect(results2).toContain('Activation successful');
expect(results2.split('Activation successful')[1]).not.toContain(libraryString);
expect(build2ContainsBuildSucceeded).toBeTruthy();
expect(results2).toContain(buildSucceededString);
expect(results2.split(buildSucceededString).length - 1).toEqual(4);
expect(results2.split('Activation successful')[1]).not.toContain(libraryString);
expect(build2NotContainsZeroLibraryCacheFilesMessage).toBeTruthy();
expect(build2NotContainsZeroLFSCacheFilesMessage).toBeTruthy();
}, 1_000_000_000);
Expand Down

0 comments on commit 1a36e77

Please sign in to comment.