Skip to content

Instantly share code, notes, and snippets.

@stephenplusplus
Created October 30, 2014 17:19
Show Gist options
  • Save stephenplusplus/580226f9522ceb3cafe5 to your computer and use it in GitHub Desktop.
Save stephenplusplus/580226f9522ceb3cafe5 to your computer and use it in GitHub Desktop.
datastore
✓ should allocate IDs (691ms)
✓ should be able to save keys as a part of entity and query by key (1067ms)
create, retrieve and delete
✓ should save/get/delete with a key name (3964ms)
✓ should save/get/delete with a numeric key id (977ms)
✓ should save/get/delete with a generated key id (981ms)
✓ should save/get/delete multiple entities at once (1127ms)
querying the datastore
✓ should limit queries (985ms)
1) should filter queries with simple indexes
2) should filter queries with defined indexes
✓ should filter by ancestor (308ms)
✓ should filter by key (315ms)
3) should order queries
4) should select projections
5) should paginate with offset and limit
6) should resume from a start cursor
7) should group queries
transactions
✓ should run in a transaction (1526ms)
1) datastore querying the datastore should filter queries with simple indexes:
Uncaught Error: no matching index found.
at Object.handleResp (/Users/stephen/dev/gcloud-node/lib/common/util.js:168:14)
at IncomingMessage.<anonymous> (/Users/stephen/dev/gcloud-node/lib/datastore/request.js:461:14)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)
2) datastore querying the datastore should filter queries with defined indexes:
Uncaught Error: no matching index found.
at Object.handleResp (/Users/stephen/dev/gcloud-node/lib/common/util.js:168:14)
at IncomingMessage.<anonymous> (/Users/stephen/dev/gcloud-node/lib/datastore/request.js:461:14)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)
3) datastore querying the datastore should order queries:
Uncaught Error: no matching index found.
at Object.handleResp (/Users/stephen/dev/gcloud-node/lib/common/util.js:168:14)
at IncomingMessage.<anonymous> (/Users/stephen/dev/gcloud-node/lib/datastore/request.js:461:14)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)
4) datastore querying the datastore should select projections:
Uncaught Error: no matching index found.
at Object.handleResp (/Users/stephen/dev/gcloud-node/lib/common/util.js:168:14)
at IncomingMessage.<anonymous> (/Users/stephen/dev/gcloud-node/lib/datastore/request.js:461:14)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)
5) datastore querying the datastore should paginate with offset and limit:
Uncaught Error: no matching index found.
at Object.handleResp (/Users/stephen/dev/gcloud-node/lib/common/util.js:168:14)
at IncomingMessage.<anonymous> (/Users/stephen/dev/gcloud-node/lib/datastore/request.js:461:14)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)
6) datastore querying the datastore should resume from a start cursor:
Uncaught Error: no matching index found.
at Object.handleResp (/Users/stephen/dev/gcloud-node/lib/common/util.js:168:14)
at IncomingMessage.<anonymous> (/Users/stephen/dev/gcloud-node/lib/datastore/request.js:461:14)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)
7) datastore querying the datastore should group queries:
Uncaught Error: no matching index found.
at Object.handleResp (/Users/stephen/dev/gcloud-node/lib/common/util.js:168:14)
at IncomingMessage.<anonymous> (/Users/stephen/dev/gcloud-node/lib/datastore/request.js:461:14)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment