Commit ebd538b
fix(gitlab): disable retry logic in test client
The GitLab Go client has built-in retry logic for HTTP 5xx errors.
Tests that return HTTP 500 were triggering this retry behavior,
causing test execution time to exceed 60 seconds.
Add gitlab.WithoutRetries() option when creating the test client
to disable retries for tests. This reduces GitLab provider test
execution from ~61s to ~1s.
Signed-off-by: Shubham Bhardwaj <[email protected]>1 parent 605306d commit ebd538b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments