aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-04-23 09:32:17 +0200
committerGitHub <noreply@github.com>2021-04-23 09:32:17 +0200
commit5f0a39d8d878e89e485e3a8d9cd4b7aceabf62da (patch)
tree6b66a5aa6c41a23a1f50c2caa8627d3a644018e0
parent01b267fa917a460f4aba514493fcfdbc57f48f67 (diff)
parent7a7a402649b40de0eeb73cc60a252a2f29a9f621 (diff)
downloadgit-bug-5f0a39d8d878e89e485e3a8d9cd4b7aceabf62da.tar.gz
Merge pull request #645 from MichaelMure/github-fix-ci
github: attempt to fix a CI issue
-rw-r--r--bridge/github/export_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bridge/github/export_test.go b/bridge/github/export_test.go
index 78425e60..1d1398a9 100644
--- a/bridge/github/export_test.go
+++ b/bridge/github/export_test.go
@@ -173,6 +173,10 @@ func TestGithubPushPull(t *testing.T) {
fmt.Println("created repository", projectName)
+ // Let Github handle the repo creation and update all their internal caches.
+ // Avoid HTTP error 404 retrieving repository node id
+ time.Sleep(10 * time.Second)
+
// Make sure to remove the Github repository when the test end
defer func(t *testing.T) {
if err := deleteRepository(projectName, envUser, envToken); err != nil {