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

replace connection test result with structure from model package #2259

Merged
merged 1 commit into from Mar 28, 2023

Conversation

mathnogueira
Copy link
Member

This PR adds the model for the test run event and replace the connection test structures with the one located in the model package

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Comment on lines +10 to +19
var (
ProtocolHTTP Protocol = "http"
ProtocolGRPC Protocol = "grpc"
)

var (
StatusPassed Status = "passed"
StatusWarning Status = "warning"
StatusFailed Status = "failed"
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good, one minor question, does it make sense to move this to the connection_test_result.go model? Or do you think the test_run_event model is a better place for this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Initially, I add them in the test_run_event. I moved them from there because it's used by connection package and it doesn't have any relation to the test_run_eventfile. That's why they are not together.

Copy link
Collaborator

@xoscar xoscar left a comment

Choose a reason for hiding this comment

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

looking gud 🚀

@mathnogueira mathnogueira merged commit c9db177 into main Mar 28, 2023
28 checks passed
@mathnogueira mathnogueira deleted the feat/model-test-run-event branch March 28, 2023 19:17
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.

None yet

3 participants