Commit ac0f2245510f6c75db1b1e7af7ca01c15dec26bc

Edward Thomson 2022-07-13T23:12:42

Merge pull request #6353 from libgit2/ethomson/flaky_googlesource tests: skip flaky-ass googlesource tests

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/tests/libgit2/online/clone.c b/tests/libgit2/online/clone.c
index ef340c2..6a087b1 100644
--- a/tests/libgit2/online/clone.c
+++ b/tests/libgit2/online/clone.c
@@ -484,9 +484,13 @@ void test_online_clone__bitbucket_falls_back_to_specified_creds(void)
 
 void test_online_clone__googlesource(void)
 {
+#ifdef __APPLE__
+	cl_skip();
+#else
 	cl_git_pass(git_clone(&g_repo, GOOGLESOURCE_REPO_URL, "./foo", &g_options));
 	git_repository_free(g_repo); g_repo = NULL;
 	cl_fixture_cleanup("./foo");
+#endif
 }
 
 static int cancel_at_half(const git_indexer_progress *stats, void *payload)