Browse Source

[Remote Config] Attempt to reduce int. tests flakes (#13019)

Nick Cooke 1 year ago
parent
commit
d91a5bc06f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      FirebaseRemoteConfigSwift/Tests/SwiftAPI/APITestBase.swift

+ 2 - 0
FirebaseRemoteConfigSwift/Tests/SwiftAPI/APITestBase.swift

@@ -35,6 +35,8 @@ class APITestBase: XCTestCase {
       #if USE_REAL_CONSOLE
         useFakeConfig = false
         FirebaseApp.configure()
+        // Sleep for 1 minute between test files to avoid exceeding rate limit.
+        sleep(60)
       #else
         useFakeConfig = true
         let options = FirebaseOptions(googleAppID: "1:123:ios:123abc",