File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -393,19 +393,10 @@ Query.prototype.testCursorPaging = function(callback) {
393
393
} ) ;
394
394
} ;
395
395
396
- Query . prototype . testEventualConsistentQuery = function ( callback ) {
397
- var query = this . ancestorQuery ;
398
-
399
- // jshint unused:false
396
+ Query . prototype . testEventualConsistentQuery = function ( ) {
400
397
// [START eventual_consistent_query]
401
- datastore . runQuery ( query , function ( err , entities ) {
402
- if ( ! err ) {
403
- // Entities found.
404
- }
405
- } ) ;
398
+ // Read consistency cannot be specified in gcloud-node.
406
399
// [END eventual_consistent_query]
407
-
408
- this . datastore . runQuery ( query , callback ) ;
409
400
} ;
410
401
411
402
module . exports = Query ;
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ describe('cursor paging', function() {
148
148
} ) ;
149
149
} ) ;
150
150
151
- describe ( 'eventually consistent query' , function ( ) {
151
+ describe . skip ( 'eventually consistent query' , function ( ) {
152
152
it ( 'performs an ancestor query' , function ( done ) {
153
153
query . testEventualConsistentQuery ( done ) ;
154
154
} ) ;
You can’t perform that action at this time.
0 commit comments