Skip to content

Commit de3d9cc

Browse files
committed
Added timeout
1 parent 4b4fe4a commit de3d9cc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/component_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (s *ComponentSuite) TestBasic() {
4848

4949
randomID := strings.ToLower(random.UniqueId())
5050

51-
namespace := fmt.Sprintf("acttions-runners-%s", randomID)
51+
namespace := fmt.Sprintf("actions-runners-%s", randomID)
5252
secretPathPrefix := fmt.Sprintf("test-%s", randomID)
5353
secretGithubPATPath := fmt.Sprintf("/%s/token", secretPathPrefix)
5454
secretWebhookPath := fmt.Sprintf("/%s/webhook", secretPathPrefix)
@@ -203,6 +203,10 @@ func (s *ComponentSuite) TestBasic() {
203203
assert.Fail(s.T(), msg)
204204
}
205205

206+
207+
// Adding a 5 minutes sleep
208+
time.Sleep(5 * time.Minute)
209+
206210
client := github.NewClient(nil).WithAuthToken(token)
207211

208212
runners, _, err := client.Actions.ListOrganizationRunners(context.Background(), githubOrg, nil)

0 commit comments

Comments
 (0)