From 551bd0758e82e3f6dc932b0090e9a0d6060d08a4 Mon Sep 17 00:00:00 2001 From: cynthiajiang Date: Tue, 25 Aug 2020 15:15:28 -0700 Subject: [PATCH 1/2] add secret files for instance_id integration test --- .../instance_id/GoogleService-Info.plist.gpg | 4 ++++ .../instance_id/google-services.json.gpg | Bin 0 -> 1026 bytes 2 files changed, 4 insertions(+) create mode 100644 scripts/gha-encrypted/instance_id/GoogleService-Info.plist.gpg create mode 100644 scripts/gha-encrypted/instance_id/google-services.json.gpg diff --git a/scripts/gha-encrypted/instance_id/GoogleService-Info.plist.gpg b/scripts/gha-encrypted/instance_id/GoogleService-Info.plist.gpg new file mode 100644 index 0000000000..591284f2b6 --- /dev/null +++ b/scripts/gha-encrypted/instance_id/GoogleService-Info.plist.gpg @@ -0,0 +1,4 @@ +  һՙ(ڧӗi4NNh8i|(UxJ\b +6=^e"X?$.k|qKuѪZQmoRϬ;vmOȁQ&jݧnfFT%{5)lqaJ)+*?O- Ņ;roԝևtwށ=8֚wp|Kڍcʼ=𖂇'V>+HDR4%ujxn+} z^{}N9O3W=xakEO)lCPu4FdGCVMT90)?hLuLSe}SU02Ef$1MG@RIm0tm(-#}(GrtZ@*Obd_sYI&NY zpY#}3@S}mW?(<58DJTWwhZn4PxYr&zdnfYIL1}cbOI7L%Mgkm}d`&X*suv96LS zHsgw;(!S~FT@`Yyzm`4=HBoKh_cIOj@EqRR^D4(tS;6$aNR%@nA|~Rn3qJ<{uFU>4 z5Tj%_!H{B(+w83?U7Q%NUHLX?4%K@K;%L1Krb^|x6WZy36>iL3ak)aR+^F%70#*dV zsx{z|_y&{SqoHz$`gwj}sl<~FA0qCyB3e-M16M&pzmNye5|^hGNU;BrX-`(j1SR?< zZ^IOS=_y0eHN3X50kU3x#N@<|!!`dx4cvVH#z%3A)!)(}M)&Mlf|D8Sp1#Tyb#|-~ z8^Ogw=OAg0AFwm`c@BF(U05w*9kqZ`9I)pu9;&(}v75TJPtbHh6Jx)c{)c6{tlyiB zouE8%hTIU%8RqHq{z?$o!7si$p^d+POR)hdK!6~35JQ$QX`sG*oiQMp^h+~a8v0m% zS@#^~rBI?NN=OhSyOR5X-PD;jcSOY-$0pYYOE2>d1kQdpOZHKeOSE0(yl&eXfskUK z`6sx~X*dJ!-9a?RY5Vf|f~iCpw}YEkdfKBsc`QYenTh)kEuAPKWzEd)YC-d%1969# zSafa)C|cf)CD&z{dTsWH1&}_${`f}XN##o;yK6)_Y)N(Z01JUiXVg>;zS{UIYhohG z;I)9Kl6XE1gGtc!iCf|`-q zVj|V-Xr8N9-e_xd16!$N=NO)m$=t`(GAnZO&*SJ3S>%;YzY2 Date: Wed, 26 Aug 2020 15:43:58 -0400 Subject: [PATCH 2/2] disable auth integration test on linux due to keychain access --- auth/integration_test/src/integration_test.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/auth/integration_test/src/integration_test.cc b/auth/integration_test/src/integration_test.cc index fbfa5c496e..83ddf1fcda 100644 --- a/auth/integration_test/src/integration_test.cc +++ b/auth/integration_test/src/integration_test.cc @@ -712,6 +712,8 @@ TEST_F(FirebaseAuthTest, TestWithCustomEmailAndPassword) { EXPECT_NE(auth_->current_user(), nullptr); } +#if ! defined(__linux__) +// Test is disabled on linux due to the need to unlock the keystore. TEST_F(FirebaseAuthTest, TestAuthPersistenceWithAnonymousSignin) { WaitForCompletion(auth_->SignInAnonymously(), "SignInAnonymously"); ASSERT_NE(auth_->current_user(), nullptr); @@ -724,7 +726,10 @@ TEST_F(FirebaseAuthTest, TestAuthPersistenceWithAnonymousSignin) { EXPECT_TRUE(auth_->current_user()->is_anonymous()); DeleteUser(); } +#endif // ! defined(__linux__) +#if ! defined(__linux__) +// Test is disabled on linux due to the need to unlock the keychain. TEST_F(FirebaseAuthTest, TestAuthPersistenceWithEmailSignin) { std::string email = GenerateEmailAddress(); WaitForCompletion( @@ -762,6 +767,8 @@ TEST_F(FirebaseAuthTest, TestAuthPersistenceWithEmailSignin) { EXPECT_NE(auth_->current_user(), nullptr); DeleteUser(); } +#endif // ! defined(__linux__) + class PhoneListener : public firebase::auth::PhoneAuthProvider::Listener { public: