Skip to content

Commit 156df40

Browse files
IID: disable integration tests on MacOS (#4589)
1 parent efa9bd9 commit 156df40

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Example/InstanceID/IntegrationTests/FIRInstanceIDIntegrationTests.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
// macOS requests a user password when accessing the Keychain for the first time,
18+
// so the tests may fail. Disable integration tests on macOS so far.
19+
// TODO: Configure the tests to run on macOS without requesting the keychain password.
20+
#if !TARGET_OS_OSX
21+
1722
#import <XCTest/XCTest.h>
1823

1924
#import <FirebaseCore/FirebaseCore.h>
@@ -171,3 +176,5 @@ - (BOOL)isDefaultAppConfigured {
171176
}
172177

173178
@end
179+
180+
#endif // !TARGET_OS_OSX

0 commit comments

Comments
 (0)