diff options
author | Michael Muré <batolettre@gmail.com> | 2021-04-23 00:28:46 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2021-04-23 00:28:46 +0200 |
commit | 7a7a402649b40de0eeb73cc60a252a2f29a9f621 (patch) | |
tree | b937762119850db963f912e9e7aaeb5a383ef4da /bridge/github | |
parent | a8f3b55986982db5f7c3918acaba2c214c919d11 (diff) | |
download | git-bug-7a7a402649b40de0eeb73cc60a252a2f29a9f621.tar.gz |
github: attempt to fix a CI issue
Diffstat (limited to 'bridge/github')
-rw-r--r-- | bridge/github/export_test.go | 4 |
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 { |