Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Commit

Permalink
More precide diagnostics of cache volume
Browse files Browse the repository at this point in the history
  • Loading branch information
walac committed Sep 3, 2019
1 parent 27ef182 commit cb9f52a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/integration/container_volume_caching_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ suite('volume cache tests', () => {
var results = await Promise.all(tasks);
await worker.terminate();

assert.ok(results.length === 2);
assert.ok(results[0].log.indexOf('file0.txt') !== -1);
assert.ok(results[0].log.indexOf('file1.txt') === -1);
assert.ok(results[1].log.indexOf('file1.txt') !== -1);
assert.ok(results[1].log.indexOf('file0.txt') === -1);
assert.equal(results.length, 2);
assert.notEqual(results[0].log.indexOf('file0.txt'), -1);
assert.equal(results[0].log.indexOf('file1.txt'), -1);
assert.notEqual(results[1].log.indexOf('file1.txt'), -1);
assert.equal(results[1].log.indexOf('file0.txt'), -1);
});

test('cached volumes can be reused between tasks', async () => {
Expand Down

0 comments on commit cb9f52a

Please sign in to comment.