Skip to content

Commit f3e878f

Browse files
committed
log and wait
1 parent be44d4d commit f3e878f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/caching/github-actions-cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ ${blockIds.map((blockId) => ` <Committed>${blockId}</Committed>`).join('\n')}
399399
`,
400400
'utf8',
401401
);
402-
console.log({doneXmlBody});
402+
console.log(doneXmlBody.toString('utf8'));
403403
using requestResult = this.#request(doneUrl, {
404404
method: 'PUT',
405405
headers: {

src/test/cache-github-live.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ test(
7272
]);
7373
assert.is(set1, true);
7474

75+
console.log('Waiting 5 seconds');
76+
await new Promise((resolve) => setTimeout(resolve, 5000));
77+
7578
const get2 = await cache.get(script, fingerprint);
7679
assert.ok(get2);
7780

0 commit comments

Comments
 (0)