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

chore: remove duplicate flux test #22035

Merged
merged 2 commits into from
Aug 4, 2021
Merged

Conversation

williamhbaker
Copy link
Contributor

Closes #21970

This removes the duplicate test that was added with #21962

Now that flux has been updated to the latest version with #22023, I confirmed that the test currently runs twice, so removing it here will cause it only to be run once from the flux dependency.

CI job showing that the test is still run, but only once: https://app.circleci.com/pipelines/github/influxdata/influxdb/22530/workflows/2edbf7c5-2feb-48af-9af3-b7daae01821d/jobs/204260 (expand the make test-flux step and look for show_fields_with_meas_pred)

@danxmoran danxmoran self-requested a review August 3, 2021 19:48
@danxmoran
Copy link
Contributor

Instead of deleting this test entirely, could we rewrite it to run the test from flux with an extra assertion that our expected pushdown rule is being used? Some examples from the group-aggregate tests: https://github.com/influxdata/influxdb/blob/master/query/stdlib/influxdata/influxdb/group_first_last_influxdb_test.flux

@williamhbaker
Copy link
Contributor Author

Instead of deleting this test entirely, could we rewrite it to run the test from flux with an extra assertion that our expected pushdown rule is being used? Some examples from the group-aggregate tests: https://github.com/influxdata/influxdb/blob/master/query/stdlib/influxdata/influxdb/group_first_last_influxdb_test.flux

Seems like a good idea, converted the test!

@williamhbaker williamhbaker merged commit 2339432 into master Aug 4, 2021
@williamhbaker williamhbaker deleted the wb-remove-dup-test-21970 branch August 4, 2021 14:38
williamhbaker added a commit that referenced this pull request Aug 9, 2021
* chore: remove duplicate flux test

* test: convert to a pushdown test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove duplicate test for field metaqueries when we update flux
2 participants