Merge pull request #645 from MichaelMure/github-fix-ci

Michael Muré created

github: attempt to fix a CI issue

Change summary

bridge/github/export_test.go | 4 ++++
1 file changed, 4 insertions(+)

Detailed changes

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 {