Skip to content

Commit 98b8f78

Browse files
committed
Revert "Try to increase the logging verbosity for a pass in actions"
This reverts commit 872764d.
1 parent c792ccd commit 98b8f78

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

analytics/integration_test/src/integration_test.cc

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -250,21 +250,16 @@ TEST_F(FirebaseAnalyticsTest, TestSetLogCallback) {
250250
std::future<void> finished = finishedPromise.get_future();
251251
bool log_callback_called = false;
252252

253-
// Save the current log level, and set to verbose for this test.
254-
firebase::LogLevel current_log_level = firebase::GetLogLevel();
255-
firebase::SetLogLevel(firebase::LogLevel::kLogLevelVerbose);
256-
257253
firebase::analytics::SetLogCallback(
258254
[&](firebase::LogLevel log_level, const char* message) {
259255
log_callback_called = true;
260256
finishedPromise.set_value();
261257
});
262258

263-
// Pass kUnknown to trigger a warning log directly from the DLL (on
264-
// Windows),
259+
// Pass kUnknown to trigger a warning log directly from the DLL (on Windows),
265260
firebase::analytics::NotifyAppLifecycleChange(firebase::analytics::kUnknown);
266261

267-
if (finished.wait_for(std::chrono::seconds(10)) ==
262+
if (finished.wait_for(std::chrono::seconds(60)) ==
268263
std::future_status::timeout) {
269264
ADD_FAILURE() << "Timed out waiting for log callback";
270265
} else {
@@ -273,7 +268,6 @@ TEST_F(FirebaseAnalyticsTest, TestSetLogCallback) {
273268

274269
EXPECT_TRUE(log_callback_called);
275270
firebase::analytics::SetLogCallback(nullptr);
276-
firebase::SetLogLevel(current_log_level);
277271
}
278272
#endif // defined(_WIN32)
279273

0 commit comments

Comments
 (0)