Skip to content

Conversation

@KonstantinMi
Copy link
Collaborator

Handle async client issues:

  • set non-zero default for graceful shutdown;
  • fix logging test (make it runnable everywhere)
  • improve tests using assertThat
  • other minor changes

…ead of real one (this is failing on environment without gcloud auth present)
>> assertThat(testAppender.getMessagesAtLevel().stream().anyMatch($COND)).isTrue()"
with
>> assertThat(testAppender.getMessagesAtLevel()).contains("$MSG")

This provides way more explanatory error message:
>> expected to contain: projects/my-project
>> but was : [projects/test-project]
instead of
>> "expected to be true"
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