Commit Graph

75 Commits

Author SHA1 Message Date
bf4c57f7bc Make client more ESM-friendly (#2348)
* Use node: prefix for stdlib imports

* Make code more ESM-friendly

* Add missing mjs file

* Drop mjs file from package.json
2024-08-22 11:18:31 -05:00
d430aecdbd Move make.sh to .buildkite (#2165) 2024-03-21 12:07:24 -05:00
4aaf49b6ea Integration test improvements (#2109)
* Improvements to integrations

Borrowed largely from https://github.com/elastic/elasticsearch-serverless-js/pull/38

* Bump all the things to 8.12.0

* Split Dockerfile copy into two layers

* Fix test cron names
2023-12-14 16:35:37 -06:00
5c4c29f51c More integration test fixes (#1889) 2023-05-30 13:11:28 -05:00
4011f0153f Fix integration test runner for 8.8 (#1859) 2023-05-02 09:57:03 -05:00
c82005855f Integration test cleanup (#1841
* Fix bad sysctl command in README

* Add --suite and --test flags to integration tests

So we can run a single suite or a single test without having to edit
any code.

* Drop several skipped integration tests

Many of these skips are no longer necessary. Didn't do an exhaustive
check of all skipped tests, so this is just a start.

* Simplify cleanup make target
2023-04-13 11:26:29 -05:00
2c277ee2ba Fixes to YAML REST integration test suite runner (#1837)
* Use more inclusive language

* Don't bail on failing tests without --bail

* Skip a few more free suite tests

* Default to https when running platinum tests

* Add make targets for local integration testing

* Linter cleanup

* Skip some platinum integration tests

* Improvements to integration test README

* Another free test to skip for now

* Continue on non-bail test failure

* Output cleanup
2023-04-10 14:24:14 -05:00
911af982b2 Fix integration test (#1689) 2022-05-06 15:15:19 +02:00
0fbdf10a68 Fix integration test (#1581) 2022-01-12 08:14:19 +01:00
4492532727 Update unknown parameter handling. (#1568) 2021-10-18 16:01:55 +02:00
1a227459f0 Elasticsearch v8 (#1558) 2021-09-30 09:45:04 +02:00
4ae38ca7f0 Update integration test scripts (#1525)
* Updated scripts

* Update runner
2021-08-18 17:47:23 +02:00
3137780d6b Update integration test (#1493) 2021-07-16 10:00:24 +02:00
4e6ae5d2e8 Fix integration test (#1479) 2021-06-03 17:50:16 +02:00
c64152b9b3 Drop node v10 support (#1471) 2021-05-20 16:16:45 +02:00
623bd72910 Updated integration test helpers (#1466) 2021-05-12 15:12:49 +02:00
6464fc69f1 Wrap inside array ndjson bodies in integration test (#1444)
* Wrap inside array ndjson bodies

* Fix path

* Use orignal api name
2021-04-08 18:26:45 +02:00
226d0e3498 Move integration test to artifact API (#1436) 2021-03-31 13:57:58 +02:00
430de17007 Integration test: Fix yaml parser and crash on failure (#1423)
* Fix yaml parser and crash on failure

* Log response in case of ResponseError

* Updated cleanup

* Updated skip list

* Updated skip list

* Updated skip list
2021-03-24 07:52:54 +01:00
ab5d8997b8 Remove Node.js v8 support (#1402) 2021-02-19 08:27:20 +01:00
2409bd09e4 Fix CI (#1399) 2021-02-09 08:13:42 +01:00
959aee5903 Updated integration test cleanup code (#1356) 2020-11-19 11:24:50 +01:00
3d664def25 Fix integration test (#1335) 2020-10-15 08:54:13 +02:00
b8940533a9 Skip ulong integration test test (#1325) 2020-09-29 10:25:31 +02:00
7b11152a12 Fixed integration test runner (#1318) 2020-09-23 12:38:45 +02:00
a064f0f357 Improve child performances (#1314) 2020-09-23 11:31:09 +02:00
2894f14b7c Improved cleanup yaml tests (#1306) 2020-09-14 17:34:02 +02:00
d6d7aeffb3 Integration test: Parse dates as string (#1305) 2020-09-14 11:51:11 +02:00
51ab5b0b00 Updated license header (master) (#1266) 2020-07-23 12:26:56 +02:00
7dfaa6c5b4 Improve helper concurrency (#1214) 2020-06-04 10:55:51 +02:00
1a25b623b0 Add multi search helper (#1186) 2020-05-25 15:37:01 +02:00
6f4127d87d Updated skip list 2020-05-15 09:40:38 +02:00
292218f946 Generate junit report (#1165)
* Enable junit report

* Added junit reporter utility

* Generate junit report

* junit reporter: store time in seconds

* Added skip reason in junit report

* Added missing end

* Fix skip serialize indentation
2020-04-23 08:25:49 +02:00
d7836a16af Client helpers (#1107)
* Added client helpers

* Updated test

* The search helper should return only the documents

* Added code comments

* Fixed bug

* Updated test

* Removed bulkSize and added flushBytes

* Updated test

* Added concurrency

* Updated test

* Added support for 429 handling in the scroll search helper

* Updated test

* Updated stats count

* Updated test

* Fix test

* Use client maxRetries as default

* Updated type definitions

* Refactored bulk helper to be more consistent with the client api

* Updated test

* Improved error handling, added refreshOnCompletion option and forward additinal options to the bulk api

* Updated type definitions

* Updated test

* Fixed test on Node v8

* Updated test

* Added TODO

* Updated docs

* Added Node v8 note

* Updated scripts

* Removed useless files

* Added helpers to integration test

* Fix cli argument position

* Moar fixes

* Test run elasticsearch in github actions

* Use master action version

* Add vm.max_map_count step

* Test new action setup

* Added Configure sysctl limits step

* Updated action to latest version

* Don't run helpers integration test in jenkins

* Run helpers integratino test also with Node v10

* Updated docs

* Updated docs

* Updated helpers type definitions

* Added test for helpers type definitions

* Added license header
2020-03-23 17:43:10 +01:00
354c13c033 Updated skip list 2020-03-20 16:54:09 +01:00
54ec923491 Updated skip list 2020-03-09 15:37:18 +01:00
1c03ccc7af Updated skip list 2020-03-09 14:40:10 +01:00
43ee0445fc Updated skip list 2020-03-09 12:33:56 +01:00
15ba60a0ec Updated skip list 2020-02-26 12:12:06 +01:00
fec4e837ac Skip broken test 2020-02-25 15:05:23 +01:00
18a87fca82 Fixed integration test 2020-02-25 14:31:54 +01:00
b2c85f7797 Update integration test runner (#1085)
* Improved user and roles handling

* Avoid deleting internal indices

* Updated skip version handling

* Fix leftover

* Improved indices and aliases cleanup

* Clean also internal indices

* Restore previous index/alias cleanup

* Ignore 404
2020-02-11 10:49:49 +01:00
6e7385a478 Added integration test stats (#1083) 2020-02-06 12:04:55 +01:00
416ace2e30 Renamed log skip function (#1061) 2020-01-23 09:24:03 +01:00
01b233428f Improve integration test execution time (#1005)
* Integration test: Add limit of 3 minutes per yaml file

* Monitor all test files that take more than 1m to execute

* Set the threshold to 30s

* Refactored integration test runner

* Better time reporting

* Updated test time limits

* Updated CI script

* Run oss only in oss build

* Run only oss test

* Revert "Run only oss test"

This reverts commit fd3a07d42d.
2020-01-23 08:25:51 +01:00
f3ccf7baa3 Updated reserved user list 2020-01-16 09:24:18 +01:00
daf30653f1 Updated skip list
- With https://github.com/elastic/elasticsearch/pull/50977 this skips are no longer valid
2020-01-15 09:55:33 +01:00
2e33680047 Updated skip list 2020-01-13 12:45:41 +01:00
8e113271b5 Updated skip list 2020-01-08 10:21:47 +01:00
2abd2a8e7f Updated skip list 2020-01-08 08:53:23 +01:00