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: Test failures due to RESOURCE_EXHAUSTED #1197

Merged
merged 2 commits into from
Nov 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix failing test
  • Loading branch information
losalex committed Nov 15, 2022
commit 6b5ecc1b71595594324f7f737a917f5c758b5464
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ public static void setUp() {
Page<Sink> sinkPage = logging.listSinks(options);
Iterator<Sink> iterator = sinkPage.iterateAll().iterator();
while (iterator.hasNext()) {
iterator.next().delete();
Sink sink = iterator.next();
try {
sink.delete();
} catch (Exception ex) {
System.err.println("ERROR: Failed to delete a " + sink.getName() + " sink, error: " + ex);
}
}
}

Expand Down