Skip to content

Commit

Permalink
🌱 update CI-Tests e2e to reflect 30 commits (#3676)
Browse files Browse the repository at this point in the history
14f864b not only fixed the --commit-depth option,
but also fixed the default commit depth for GitLab repos. Previously GitLab repos looked
back 20 commits because that was GitLab's default for the commits API. Now, GitLab repos
look back 30 commits, so the proportions of this e2e test changed.

Signed-off-by: Spencer Schrock <[email protected]>
  • Loading branch information
spencerschrock authored Nov 15, 2023
1 parent 6541b0d commit ea626de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/ci_tests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ var _ = Describe("E2E TEST:"+checks.CheckCITests, func() {
}
expected := scut.TestReturn{
Error: nil,
Score: 8,
Score: 6,
NumberOfWarn: 0,
NumberOfInfo: 0,
NumberOfDebug: 13,
NumberOfDebug: 22,
}
result := checks.CITests(&req)
Expect(result.Score).Should(BeNumerically("==", expected.Score))
Expect(scut.ValidateTestReturn(nil, "CI tests at commit - GitLab", &expected, &result, &dl)).Should(BeTrue())
Expect(result.Error).Should(BeNil())
Expect(repoClient.Close()).Should(BeNil())
})
Expand Down

0 comments on commit ea626de

Please sign in to comment.