Allow creation of indices on default fields (#4738)

* Allow creation of indexes on default fields

* Update test

* Try to address flaky cache test
This commit is contained in:
Claire Neveu
2018-04-25 19:06:10 -04:00
committed by Tyler Brock
parent b1017ac17c
commit 04588bccb9
3 changed files with 27 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ describe('InMemoryCache', function() {
let value = cache.get(KEY);
expect(value).toEqual(VALUE);
wait(BASE_TTL.ttl * 2).then(() => {
wait(BASE_TTL.ttl * 10).then(() => {
value = cache.get(KEY)
expect(value).toEqual(null);
done();