Skip to content

Commit e024ee1

Browse files
Revert debugging changes
1 parent 89cb07b commit e024ee1

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

firestore/integration_test_internal/src/firestore_integration_test.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ int WaitFor(const FutureBase& future) {
127127

128128
FirestoreIntegrationTest::FirestoreIntegrationTest() {
129129
// Allocate the default Firestore eagerly.
130-
Firestore::set_log_level(LogLevel::kLogLevelDebug);
131130
TestFirestore();
132131
}
133132

@@ -150,7 +149,7 @@ Firestore* FirestoreIntegrationTest::TestFirestoreWithProjectId(
150149
apps_[app] = std::unique_ptr<App>(app);
151150
}
152151

153-
Firestore::set_log_level(LogLevel::kLogLevelDebug);
152+
// Firestore::set_log_level(LogLevel::kLogLevelDebug);
154153

155154
Firestore* db = new Firestore(CreateTestFirestoreInternal(app));
156155
firestores_[db] = FirestoreInfo(name, std::unique_ptr<Firestore>(db));

firestore/src/main/firestore_main.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ FirestoreInternal::FirestoreInternal(
105105
ApplyDefaultSettings();
106106

107107
App::RegisterLibrary("fire-fst", kFirestoreVersionString);
108-
109-
LogSetLevel(util::kLogLevelDebug);
110-
firebase::SetLogLevel(kLogLevelVerbose);
111108
}
112109

113110
FirestoreInternal::~FirestoreInternal() {

testing/test_framework/src/firebase_test_framework.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,8 @@ char** EditMainArgsForGoogleTest(int* argc, char* argv[]) {
351351
std::vector<std::string> modified_args(original_args);
352352

353353
// Add elements to the `modified_args` vector to specify to googletest.
354-
// modified_args.push_back("--gtest_catch_exceptions=0");
354+
// e.g. modified_args.push_back("--gtest_list_tests");
355+
// e.g. modified_args.push_back("--gtest_filter=MyTestFixture.MyTest");
355356

356357
// Create a new `argv` with the elements from the `modified_args` vector and
357358
// write the new count back to `argc`. The memory leaks produced by

0 commit comments

Comments
 (0)