Skip to content

Commit 155f662

Browse files
remove status to pass tests
1 parent 7e73051 commit 155f662

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/stackql-assert.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,35 +40,35 @@ jobs:
4040
auth_obj_path: './.github/workflows/workflow_scripts/auth.json'
4141
test_query: |
4242
REGISTRY PULL google v23.01.00116;
43-
SELECT name, status
43+
SELECT name
4444
FROM google.compute.instances
4545
WHERE project = 'stackql-demo' AND zone = 'australia-southeast1-a' AND name = 'stackql-demo-001';
46-
expected_results_str: ' [{"name":"stackql-demo-001","status":"TERMINATED"}]'
46+
expected_results_str: ' [{"name":"stackql-demo-001"}]'
4747

4848
- name: Use test query file and expected result string with auth object
4949
uses: ./
5050
with:
5151
auth_obj_path: './.github/workflows/workflow_scripts/auth.json'
5252
test_query_file_path: './.github/workflows/workflow_scripts/google-example.iql'
53-
expected_results_str: ' [{"name":"stackql-demo-001","status":"TERMINATED"}]'
53+
expected_results_str: ' [{"name":"stackql-demo-001"}]'
5454

5555
- name: Use test query string and expected results string, with auth string
5656
uses: ./
5757
with:
5858
auth_str: '{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
5959
test_query: |
6060
REGISTRY PULL google v23.01.00116;
61-
SELECT name, status
61+
SELECT name
6262
FROM google.compute.instances
6363
WHERE project = 'stackql-demo' AND zone = 'australia-southeast1-a' AND name = 'stackql-demo-001';
64-
expected_results_str: '[{"name":"stackql-demo-001","status":"TERMINATED"}]'
64+
expected_results_str: '[{"name":"stackql-demo-001"}]'
6565

6666
- name: Use test query string and expected results file, with auth object
6767
uses: ./
6868
with:
6969
auth_obj_path: './.github/workflows/workflow_scripts/auth.json'
7070
test_query_file_path: './.github/workflows/workflow_scripts/google-example.iql'
71-
expected_results_str: '[{"name":"stackql-demo-001","status":"TERMINATED"}]'
71+
expected_results_str: '[{"name":"stackql-demo-001"}]'
7272

7373
- name: Use test query string and expected rows, with auth object
7474
uses: ./
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"name":"stackql-demo-001","status":"TERMINATED"}]
1+
[{"name":"stackql-demo-001"}]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
REGISTRY PULL google v23.01.00116;
2-
SELECT name, status
2+
SELECT name
33
FROM google.compute.instances
44
WHERE project = 'stackql-demo' AND zone = 'australia-southeast1-a' AND name = 'stackql-demo-001';

0 commit comments

Comments
 (0)