-
Notifications
You must be signed in to change notification settings - Fork 896
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
GODRIVER-2943 Re-organize client entity expected log messages #1366
Conversation
@@ -84,6 +84,28 @@ func entities(ctx context.Context) *EntityMap { | |||
return ctx.Value(entitiesKey).(*EntityMap) | |||
} | |||
|
|||
func expectedLogMessageCount(ctx context.Context) int { | |||
return ctx.Value(expectedLogMessageCountKey).(int) | |||
func expectedLogMessagesCount(ctx context.Context, clientID string) int { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The UTR expects this data to be client-specific. Before this change, this data was held at the test level which is incorrect. Suggest storing log message information on the context at the client-level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
171895f
API Change ReportNo changes found! |
GODRIVER-2943
Summary
Since logs are client-oriented, this PR proposes a method of storing the logs onto the testing context to be retrieved by a client ID, rather than aggregating all of the logs for each test case.
Background & Motivation