Skip to content

Commit 11ac907

Browse files
ci: Integration test cleanup (#96)
Co-authored-by: Josh Mock <[email protected]>
1 parent f0724ad commit 11ac907

File tree

5 files changed

+22
-13
lines changed

5 files changed

+22
-13
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717
with:
18+
persist-credentials: false
1819
ref: ${{ github.event.inputs.branch }}
1920
- uses: actions/setup-node@v4
2021
with:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@v4
3232
with:
33+
persist-credentials: false
3334
ref: main
3435
- uses: actions/setup-node@v4
3536
with:

.github/workflows/tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
src-only: "${{ steps.changes.outputs.src-only }}"
1212
steps:
1313
- uses: actions/checkout@v4
14+
with:
15+
persist-credentials: false
1416
- uses: dorny/paths-filter/@v3.0.2
1517
id: changes
1618
with:
@@ -33,6 +35,8 @@ jobs:
3335

3436
steps:
3537
- uses: actions/checkout@v4
38+
with:
39+
persist-credentials: false
3640

3741
- name: Use Node.js ${{ matrix.node-version }}
3842
uses: actions/setup-node@v4
@@ -57,6 +61,8 @@ jobs:
5761

5862
steps:
5963
- uses: actions/checkout@v4
64+
with:
65+
persist-credentials: false
6066

6167
- name: Set up Node.js
6268
uses: actions/setup-node@v4
@@ -85,6 +91,8 @@ jobs:
8591

8692
steps:
8793
- uses: actions/checkout@v4
94+
with:
95+
persist-credentials: false
8896

8997
- name: Use Bun
9098
uses: oven-sh/setup-bun@v2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"zx": "^7.2.2"
8181
},
8282
"dependencies": {
83-
"@elastic/transport": "^8.8.1",
83+
"@elastic/transport": "^8.9.1",
8484
"tslib": "^2.5.0"
8585
},
8686
"tap": {

test/integration/index.js

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,8 @@ const skips = {
5858
// TODO: expects {"outlier_detection.auc_roc.value":0.99995}, gets {"outlier_detection.auc_roc.value":0.5}
5959
// remove if/when https://github.com/elastic/elasticsearch-clients-tests/issues/37 is resolved
6060
'machine_learning/data_frame_evaluate.yml': ['*'],
61-
// TODO: wait_for_active_shards and rollover with conditions are not supported on serverless
62-
// see https://github.com/elastic/elasticsearch-clients-tests/issues/55
63-
'indices/rollover.yml': ['*'],
64-
// TODO: test runner needs to support ignoring 410 errors
65-
'indices/data_lifecycle.yml': ['*'],
61+
// TODO: Cannot perform requested action because job [job-crud-test-apis] is not open
62+
'machine_learning/jobs_crud.yml': ['*'],
6663
// TODO: test runner needs to support ignoring 410 errors
6764
'enrich/10_basic.yml': ['*'],
6865
// TODO: parameter `enabled` is not allowed in source
@@ -71,18 +68,20 @@ const skips = {
7168
// TODO: expecting `ct_field` field mapping to be returned, but instead only finds `field`
7269
'indices/simulate_template.yml': ['*'],
7370
'indices/simulate_index_template.yml': ['*'],
74-
// TODO: enable this test after connector API is included in client generation
75-
'entsearch/20_connector.yml': ['*'],
76-
'entsearch/30_sync_jobs_serverless.yml': ['*'],
77-
'entsearch/30_sync_jobs_stack.yml': ['*'],
78-
'entsearch/40_connector_secret.yml': ['*'],
79-
'entsearch/50_connector_updates.yml': ['*'],
80-
'entsearch/60_connector_updates_stack.yml': ['*'],
8171
// TODO: test currently times out
8272
'inference/10_basic.yml': ['*'],
73+
// TODO: Fix: "Trained model deployment [test_model] is not allocated to any nodes"
74+
'machine_learning/20_trained_model_serverless.yml': ['*'],
8375
// TODO: query_rules api not available yet
8476
'query_rules/10_query_rules.yml': ['*'],
8577
'query_rules/20_rulesets.yml': ['*'],
78+
'query_rules/30_test.yml': ['*'],
79+
// TODO: security.putRole API not available
80+
'security/50_roles_serverless.yml': ['*'],
81+
// TODO: expected undefined to equal 'some_table'
82+
'entsearch/50_connector_updates.yml': ['*'],
83+
// TODO: resource_not_found_exception
84+
'tasks_serverless.yml': ['*'],
8685
}
8786

8887
const shouldSkip = (file, name) => {

0 commit comments

Comments
 (0)