Skip to content

Commit

Permalink
sample: fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Lalji Kanjareeya committed May 27, 2021
1 parent 4d28f98 commit db8069d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions samples/system-test/spanner.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const batchCmd = 'node batch.js';
const crudCmd = 'node crud.js';
const schemaCmd = 'node schema.js';
const indexingCmd = 'node indexing.js';
const queryOptionsCmd = 'node queryoptions.js';
const rpcPriorityCommand = 'node rpc-priority.js';
const timestampCmd = 'node timestamp.js';
const structCmd = 'node struct.js';
Expand Down Expand Up @@ -470,7 +469,7 @@ describe('Spanner', () => {
// spanner_create_client_with_query_options
it('should use query options from a database reference', async () => {
const output = execSync(
`${queryOptionsCmd} databaseWithQueryOptions ${INSTANCE_ID} ${DATABASE_ID} ${PROJECT_ID}`
`node database-with-query-options ${INSTANCE_ID} ${DATABASE_ID} ${PROJECT_ID}`
);
assert.match(
output,
Expand All @@ -481,7 +480,7 @@ describe('Spanner', () => {
// spanner_query_with_query_options
it('should use query options on request', async () => {
const output = execSync(
`${queryOptionsCmd} queryWithQueryOptions ${INSTANCE_ID} ${DATABASE_ID} ${PROJECT_ID}`
`node query-with-query-options ${INSTANCE_ID} ${DATABASE_ID} ${PROJECT_ID}`
);
assert.match(
output,
Expand Down

0 comments on commit db8069d

Please sign in to comment.