Skip to content

Commit

Permalink
Minor test fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry committed Aug 16, 2016
1 parent 0b8c7c3 commit 74c8e49
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions datastore/system-test/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ indexes:
- name: percent_complete
- kind: Task
properties:
- name: type
- name: category
- name: priority
- kind: Task
properties:
Expand All @@ -22,16 +22,15 @@ indexes:
- name: created
- kind: Task
properties:
- name: type
- name: category
- name: priority
direction: desc
- kind: Task
properties:
- name: type
- name: category
- name: created
- kind: Task
properties:
- name: priority
direction: desc
- name: created

2 changes: 1 addition & 1 deletion pubsub/system-test/subscriptions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('pubsub:subscriptions', function () {
assert.equal(subscription.name, name);
assert(console.log.calledWith('Created subscription %s to topic %s', subscriptionName, topicName));
// The next test sometimes fails, so, slow this test down
setTimeout(done, 2000);
setTimeout(done, 5000);
});
});
});
Expand Down
2 changes: 1 addition & 1 deletion pubsub/system-test/topics.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('pubsub:topics', function () {
assert.ifError(err);
assert.equal(topic.name, name);
assert(console.log.calledWith('Created topic: %s', topicName));
done();
setTimeout(done, 5000);
});
});
});
Expand Down
4 changes: 2 additions & 2 deletions storage/system-test/buckets.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('storage:buckets', function () {
assert.ifError(err);
assert.equal(bucket.name, bucketName);
assert(console.log.calledWith('Created bucket: %s', bucketName));
done();
setTimeout(done, 2000);
});
});
});
Expand All @@ -35,7 +35,7 @@ describe('storage:buckets', function () {
assert(Array.isArray(buckets));
assert(buckets.length > 0);
assert(console.log.calledWith('Found %d buckets!', buckets.length));
done();
setTimeout(done, 2000);
});
});
});
Expand Down

0 comments on commit 74c8e49

Please sign in to comment.