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

fix(engine): repair broken integration test #841

Merged
merged 1 commit into from
Jul 8, 2022
Merged

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Jul 8, 2022

This diff contains a fix that I come up with while working
on ooni/probe#2184.

The integration test that was broken was:

--- FAIL: TestCreateInvalidExperiment (0.35s)
    experiment_integration_test.go:192: expected a nil builder here

While there improve the documentation of the ExperimentSession
and acknowledge it contained a method that we are not using, so we
can safely remove such a method from ExperimentSession.

The integration test that was broken was:

```
--- FAIL: TestCreateInvalidExperiment (0.35s)
    experiment_integration_test.go:192: expected a nil builder here
```

While there improve the documentation of the ExperimentSession
and see there's a method that we are not using.

This diff is a cleanup that I come up with while working
on ooni/probe#2184.
@bassosimone bassosimone requested a review from hellais as a code owner July 8, 2022 11:06
@bassosimone bassosimone merged commit e5697e6 into master Jul 8, 2022
@bassosimone bassosimone deleted the issue/2184 branch July 8, 2022 11:12
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.

1 participant