🌱 update CI-Tests e2e to reflect 30 commits (#3676)

14f864bfea 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 <sschrock@google.com>
This commit is contained in:
Spencer Schrock 2023-11-15 10:35:27 -08:00 committed by GitHub
parent 6541b0d2fd
commit ea626de830
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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())
})