diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | bridge/github/export_test.go | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -5,7 +5,6 @@ <div align="center"> -[![Build Status](https://travis-ci.com/MichaelMure/git-bug.svg?branch=master)](https://travis-ci.com/MichaelMure/git-bug) [![Backers on Open Collective](https://opencollective.com/git-bug/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/git-bug/sponsors/badge.svg)](#sponsors) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3+-blue.svg)](http://www.gnu.org/licenses/gpl-3.0) 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 { |