Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against Elastic 7.x and 8.x and OpenSearch 1.x #69

Merged
merged 8 commits into from
May 14, 2024

Conversation

rowanseymour
Copy link
Member

@rowanseymour rowanseymour commented May 13, 2024

No description provided.

@rowanseymour rowanseymour force-pushed the test_es_versions branch 5 times, most recently from f6e4bb2 to ea9ae11 Compare May 13, 2024 17:00
Copy link

codecov bot commented May 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.77%. Comparing base (6250bd9) to head (6d47d57).

❗ Current head 6d47d57 differs from pull request most recent head e0085e4. Consider uploading reports for the commit e0085e4 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   50.96%   53.77%   +2.81%     
==========================================
  Files           6        6              
  Lines         569      569              
==========================================
+ Hits          290      306      +16     
+ Misses        254      238      -16     
  Partials       25       25              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rowanseymour rowanseymour marked this pull request as ready for review May 13, 2024 19:20
@rowanseymour rowanseymour force-pushed the test_es_versions branch 4 times, most recently from ca06c68 to 40c4f35 Compare May 13, 2024 21:02
indexers/base.go Outdated

// deletes a document
const deleteCommand = `{ "delete" : { "_id": %d, "_type": "_doc", "version": %d, "version_type": "external", "routing": %d} }`
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: need to check if removing this still works against indexes created with type

@rowanseymour rowanseymour changed the title Test against Elastic 7 and 8 Test against Elastic 7.x and 8.x and OpenSearch 1.x May 14, 2024
@rowanseymour rowanseymour force-pushed the test_es_versions branch 2 times, most recently from 19de6ed to d0bd433 Compare May 14, 2024 16:14
@@ -6,6 +6,12 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
container:
image: node:18
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes the test run in a container.. which then has access to the services using their name as the host, e.g. http://elastic7:9200

@rowanseymour rowanseymour merged commit 6b69740 into main May 14, 2024
9 checks passed
@rowanseymour rowanseymour deleted the test_es_versions branch May 14, 2024 16:45
@github-actions github-actions bot locked and limited conversation to collaborators May 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant