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

feat(internal/cmd): add internal command for influxdb flux test harness #20508

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

jsternberg
Copy link
Contributor

The internal command can be used to execute flux tests using the same
internals as the flux test command, but it will invoke these tests
against a test influxdb instance that is launched in-process.

Closes #19882.

Copy link
Contributor

@rockstar rockstar left a comment

Choose a reason for hiding this comment

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

Apologies for the delay; trying to get the idpe side up and going at the same time gets my wire crossed badly. Thanks for doing this.

}

func (t *testExecutor) Errorf(s string, i ...interface{}) {
t.Logf(s, i...)
Copy link
Contributor

Choose a reason for hiding this comment

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

This interface, that looks a lot like testing.T interface, is quite neat. I like it a lot, and will likely take out my hack in idpe and put this in its place. Thanks for the idea.

The internal command can be used to execute flux tests using the same
internals as the `flux test` command, but it will invoke these tests
against a test influxdb instance that is launched in-process.
@jsternberg jsternberg merged commit f6669f7 into master Jan 25, 2021
@jsternberg jsternberg deleted the feat/test-harness branch January 25, 2021 16:31
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.

Implement flux test runner
2 participants