mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-04 09:19:55 +02:00
fix: Output chache hit timing
This commit is contained in:
parent
688d5d4688
commit
6f5b5ee729
2 changed files with 2 additions and 2 deletions
|
@ -260,7 +260,7 @@ test("Fail restore when fail on cache miss is enabled and primary + restore keys
|
|||
);
|
||||
|
||||
expect(stateMock).toHaveBeenCalledWith("CACHE_KEY", key);
|
||||
expect(setCacheHitOutputMock).toHaveBeenCalledTimes(0);
|
||||
expect(setCacheHitOutputMock).toHaveBeenCalledTimes(1);
|
||||
|
||||
expect(failedMock).toHaveBeenCalledWith(
|
||||
`Failed to restore cache entry. Exiting as fail-on-cache-miss is set. Input key: ${key}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue