Skip to content

Commit

Permalink
feat: add ginkgolinter (#701)
Browse files Browse the repository at this point in the history
* test: add ginkgolinter to golangci

* fix: apply ginkgolinter suggestions
  • Loading branch information
psturc authored Aug 15, 2023
1 parent e4581f0 commit 88bd3e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
issues:
exclude:
- composites
linters:
enable:
- ginkgolinter
4 changes: 2 additions & 2 deletions tests/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ var _ = framework.BuildSuiteDescribe("Build service E2E tests", Label("build", "
Specify("simple build can be triggered manually", func() {
Expect(f.AsKubeAdmin.HasController.SetComponentAnnotation(componentName, controllers.BuildRequestAnnotationName, controllers.BuildRequestTriggerSimpleBuildAnnotationValue, testNamespace)).To(Succeed())

Expect(f.AsKubeAdmin.HasController.WaitForComponentPipelineToBeFinished(component, "", 2))
Expect(f.AsKubeAdmin.HasController.WaitForComponentPipelineToBeFinished(component, "", 2)).To(Succeed())

var buildStatus *controllers.BuildStatus

Expand Down Expand Up @@ -683,7 +683,7 @@ var _ = framework.BuildSuiteDescribe("Build service E2E tests", Label("build", "
return buildStatus.Simple != nil && buildStatus.Simple.BuildStartTime != lastBuildStartTime && buildStatus.Simple.ErrId == 0 && buildStatus.Simple.ErrMessage == "", nil
}, timeout, interval).Should(BeTrue(), "build status has unexpected content")

Expect(f.AsKubeAdmin.TektonController.DeleteAllPipelineRunsInASpecificNamespace(testNamespace))
Expect(f.AsKubeAdmin.TektonController.DeleteAllPipelineRunsInASpecificNamespace(testNamespace)).To(Succeed())
})
})

Expand Down

0 comments on commit 88bd3e4

Please sign in to comment.