-
Notifications
You must be signed in to change notification settings - Fork 29
OPRUN-3962: Add structure to allow move the orgin tests using OTE #383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
openshift-merge-bot
merged 1 commit into
openshift:main
from
camilamacedo86:extended-tests-bin
Jul 9, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Builds the test bin olmv1-tests-ext from the source code. | ||
# The bin will be used in the final image (olm-operator-controller) | ||
# so it can be used by openshift-tests. | ||
# See: https://github.com/openshift/origin/blob/main/pkg/test/extensions/binary.go#L53-L62 | ||
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS builder | ||
|
||
WORKDIR /build | ||
COPY . . | ||
|
||
# Build the olmv1-tests-ext binary. | ||
RUN make build && \ | ||
gzip -f ./bin/olmv1-tests-ext | ||
|
||
# Copy directly from the build output directory | ||
FROM registry.ci.openshift.org/ocp/4.20:base-rhel9 | ||
COPY --from=builder /build/bin/olmv1-tests-ext.gz /usr/bin/olmv1-tests-ext.gz | ||
|
||
LABEL io.k8s.display-name="OLMv1 Operator Controller" \ | ||
io.openshift.release.operator=true \ | ||
io.openshift.tags="openshift,tests,e2e,e2e-extension" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Get the directory where this Makefile is, so we can use it below for including | ||
# Include the same Bingo variables used by the project | ||
DIR := $(strip $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))) | ||
include $(DIR)/../../.bingo/Variables.mk | ||
|
||
# Definitions for the extended tests | ||
|
||
GO_PKG_NAME := github.com/openshift-eng/openshift-tests-extension | ||
|
||
GIT_COMMIT := $(shell git rev-parse --short HEAD) | ||
BUILD_DATE := $(shell date -u +'%Y-%m-%dT%H:%M:%SZ') | ||
GIT_TREE_STATE := $(shell if git diff --quiet; then echo clean; else echo dirty; fi) | ||
|
||
LDFLAGS := -X '$(GO_PKG_NAME)/pkg/version.CommitFromGit=$(GIT_COMMIT)' \ | ||
-X '$(GO_PKG_NAME)/pkg/version.BuildDate=$(BUILD_DATE)' \ | ||
-X '$(GO_PKG_NAME)/pkg/version.GitTreeState=$(GIT_TREE_STATE)' | ||
|
||
#SECTION General | ||
|
||
# The help target prints out all targets with their descriptions organized | ||
# beneath their categories. The categories are represented by '#SECTION' and the | ||
# target descriptions by '#HELP' or '#EXHELP'. The awk commands is responsible for reading the | ||
# entire set of makefiles included in this invocation, looking for lines of the | ||
# file as xyz: #HELP something, and then pretty-format the target and help. Then, | ||
# if there's a line with #SECTION something, that gets pretty-printed as a category. | ||
# More info on the usage of ANSI control characters for terminal formatting: | ||
# https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters | ||
# More info on the awk command: | ||
# http://linuxcommand.org/lc3_adv_awk.php | ||
# The extended-help target uses '#EXHELP' as the delineator. | ||
|
||
.PHONY: help | ||
help: #HELP Display essential help. | ||
@awk 'BEGIN {FS = ":[^#]*#HELP"; printf "\nUsage:\n make \033[36m<target>\033[0m\n\n"} /^[a-zA-Z_0-9-]+:.*#HELP / { printf " \033[36m%-17s\033[0m %s\n", $$1, $$2 } ' $(MAKEFILE_LIST) | ||
|
||
#SECTION Tests | ||
TOOLS_BIN_DIR := $(CURDIR)/bin | ||
|
||
#SECTION Development | ||
.PHONY: verify #HELP To verify the code | ||
verify: tidy fmt vet lint check-metadata | ||
|
||
.PHONY: tidy #HELP Run go mod tidy. | ||
tidy: | ||
go mod tidy | ||
|
||
.PHONY: fmt | ||
fmt: #HELP Run go fmt against code. | ||
go fmt ./... | ||
|
||
.PHONY: vet | ||
vet: #HELP Run go vet against code. | ||
go vet ./... | ||
|
||
.PHONY: lint | ||
lint: $(GOLANGCI_LINT) #HELP Run golangci linter. | ||
$(GOLANGCI_LINT) run | ||
|
||
.PHONY: fix-lint | ||
fix-lint: $(GOLANGCI_LINT) #HELP Fix lint issues | ||
$(GOLANGCI_LINT) run --fix | ||
|
||
# GO_COMPLIANCE_POLICY="exempt_all" must only be used for test related binaries. | ||
# It prevents various FIPS compliance policies from being applied to this compilation. | ||
# Do not set globally. | ||
.PHONY: build | ||
build: #HELP Build the extended tests binary | ||
@mkdir -p $(TOOLS_BIN_DIR) | ||
GO_COMPLIANCE_POLICY="exempt_all" go build -ldflags "$(LDFLAGS)" -mod=vendor -o $(TOOLS_BIN_DIR)/olmv1-tests-ext ./cmd/... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
/* | ||
This command is used to run the OLMv1 tests extension for OpenShift. | ||
It registers the OLMv1 tests with the OpenShift Tests Extension framework | ||
and provides a command-line interface to execute them. | ||
|
||
For further information, please refer to the documentation at: | ||
https://github.com/openshift-eng/openshift-tests-extension/blob/main/cmd/example-tests/main.go | ||
*/ | ||
package main | ||
camilamacedo86 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
import ( | ||
"fmt" | ||
"os" | ||
"strings" | ||
|
||
"github.com/openshift-eng/openshift-tests-extension/pkg/cmd" | ||
e "github.com/openshift-eng/openshift-tests-extension/pkg/extension" | ||
et "github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests" | ||
g "github.com/openshift-eng/openshift-tests-extension/pkg/ginkgo" | ||
"github.com/spf13/cobra" | ||
|
||
// The import below is necessary to ensure that the OLMv1 tests are registered with the extension. | ||
_ "github/operator-framework-operator-controller/openshift/tests-extension/test" | ||
) | ||
|
||
func main() { | ||
camilamacedo86 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
registry := e.NewRegistry() | ||
ext := e.NewExtension("openshift", "payload", "olmv1") | ||
|
||
// Register the OLMv1 test suites with OpenShift Tests Extension. | ||
// These suites determine how test cases are grouped and executed in various jobs. | ||
// | ||
// Definitions of labels: | ||
// - [Serial]: test must run in isolation, one at a time. Typically used for disruptive cases (e.g., kill nodes). | ||
// - [Slow]: test takes a long time to execute (i.e. >5 min.). Cannot be included in fast/parallel suites. | ||
// | ||
// IMPORTANT: | ||
// Even though a suite is marked "parallel", all tests run serially when using the *external binary* | ||
// (`run-suite`, `run-test`) because it executes within a single process and Ginkgo | ||
// cannot parallelize within a single process. | ||
// See: https://github.com/openshift-eng/openshift-tests-extension/blob/main/pkg/ginkgo/util.go#L50 | ||
// | ||
// For actual parallel test execution (e.g., in CI), use `openshift-tests`, which launches one process per test: | ||
// https://github.com/openshift/origin/blob/main/pkg/test/ginkgo/test_runner.go#L294 | ||
|
||
// Suite: olmv1/parallel | ||
// --------------------------------------------------------------- | ||
// Contains fast, parallel-safe test cases only. | ||
// Excludes any tests labeled [Serial] or [Slow]. | ||
// Note: Tests with [Serial] and [Slow] cannot run with openshift/conformance/parallel. | ||
ext.AddSuite(e.Suite{ | ||
camilamacedo86 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Name: "olmv1/parallel", | ||
Parents: []string{"openshift/conformance/parallel"}, | ||
Qualifiers: []string{ | ||
`!(name.contains("[Serial]") || name.contains("[Slow]"))`, | ||
}, | ||
}) | ||
|
||
// Suite: olmv1/serial | ||
// --------------------------------------------------------------- | ||
// Contains tests explicitly labeled [Serial]. | ||
// These tests are typically disruptive and must run one at a time. | ||
ext.AddSuite(e.Suite{ | ||
Name: "olmv1/serial", | ||
Parents: []string{"openshift/conformance/serial"}, | ||
Qualifiers: []string{ | ||
`name.contains("[Serial]")`, | ||
}, | ||
}) | ||
|
||
// Suite: olmv1/slow | ||
// // --------------------------------------------------------------- | ||
// Contains tests labeled [Slow], which take significant time to run. | ||
// These are not allowed in fast/parallel suites, and should run in optional/slow jobs. | ||
ext.AddSuite(e.Suite{ | ||
Name: "olmv1/slow", | ||
Parents: []string{"openshift/optional/slow"}, | ||
Qualifiers: []string{ | ||
`name.contains("[Slow]")`, | ||
}, | ||
}) | ||
|
||
// Suite: olmv1/all | ||
// --------------------------------------------------------------- | ||
// All tests in one suite: includes [Serial], [Slow], [Disruptive], etc. | ||
ext.AddSuite(e.Suite{ | ||
Name: "olmv1/all", | ||
}) | ||
|
||
specs, err := g.BuildExtensionTestSpecsFromOpenShiftGinkgoSuite() | ||
camilamacedo86 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
if err != nil { | ||
panic(fmt.Sprintf("couldn't build extension test specs from ginkgo: %+v", err.Error())) | ||
} | ||
|
||
// Ensure `[Disruptive]` tests are always also marked `[Serial]`. | ||
// This prevents them from running in parallel suites, which could cause flaky failures | ||
// due to disruptive behavior. | ||
specs = specs.Walk(func(spec *et.ExtensionTestSpec) { | ||
if strings.Contains(spec.Name, "[Disruptive]") && !strings.Contains(spec.Name, "[Serial]") { | ||
spec.Name = strings.ReplaceAll( | ||
spec.Name, | ||
"[Disruptive]", | ||
"[Serial][Disruptive]", | ||
) | ||
} | ||
}) | ||
|
||
// TODO: Init test framework for cluster-aware cases | ||
// -------------------------------------------------- | ||
// The external binary doesn't currently init the test framework (e.g., kubeconfig, REST client). | ||
// That's fine for now since our tests don't access the cluster. | ||
// However, any test that does will fail when run with this binary. | ||
// | ||
// openshift-tests handles this via: | ||
// - SuiteWithKubeTestInitializationPreSuite() | ||
// -> calls DecodeProvider() and InitializeTestFramework() | ||
// | ||
// We'll need to add similar logic when we start add the tests here. | ||
// | ||
// References: | ||
// - https://github.com/openshift/origin/blob/main/pkg/cmd/openshift-tests/run/flags.go#L53 | ||
// - https://github.com/openshift/origin/blob/main/pkg/clioptions/clusterdiscovery/provider.go#L100 | ||
|
||
ext.AddSpecs(specs) | ||
camilamacedo86 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
registry.Register(ext) | ||
|
||
root := &cobra.Command{ | ||
Long: "OLMv1 Tests Extension", | ||
} | ||
|
||
root.AddCommand(cmd.DefaultExtensionCommands(registry)...) | ||
|
||
if err := func() error { | ||
return root.Execute() | ||
}(); err != nil { | ||
os.Exit(1) | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module github/operator-framework-operator-controller/openshift/tests-extension | ||
|
||
go 1.24.3 | ||
|
||
require ( | ||
github.com/onsi/ginkgo/v2 v2.21.0 | ||
github.com/onsi/gomega v1.35.1 | ||
github.com/openshift-eng/openshift-tests-extension v0.0.0-20250522124649-4ffcd156ec7c | ||
github.com/spf13/cobra v1.8.1 | ||
) | ||
|
||
require ( | ||
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect | ||
github.com/google/cel-go v0.17.8 // indirect | ||
github.com/google/go-cmp v0.6.0 // indirect | ||
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/stoewer/go-strcase v1.2.0 // indirect | ||
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect | ||
golang.org/x/net v0.30.0 // indirect | ||
golang.org/x/sys v0.26.0 // indirect | ||
golang.org/x/text v0.19.0 // indirect | ||
golang.org/x/tools v0.26.0 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61 // indirect | ||
google.golang.org/protobuf v1.35.1 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) | ||
|
||
// This replace replace is required for we use the OCP fork of Ginkgo. | ||
replace github.com/onsi/ginkgo/v2 => github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20241205171354-8006f302fd12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df h1:7RFfzj4SSt6nnvCPbCqijJi1nWCd+TqAT3bYCStRC18= | ||
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df/go.mod h1:pSwJ0fSY5KhvocuWSx4fz3BA8OrA1bQn+K1Eli3BRwM= | ||
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= | ||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= | ||
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= | ||
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= | ||
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= | ||
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= | ||
github.com/google/cel-go v0.17.8 h1:j9m730pMZt1Fc4oKhCLUHfjj6527LuhYcYw0Rl8gqto= | ||
github.com/google/cel-go v0.17.8/go.mod h1:HXZKzB0LXqer5lHHgfWAnlYwJaQBDKMjxjulNQzhwhY= | ||
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= | ||
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= | ||
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db h1:097atOisP2aRj7vFgYQBbFN4U4JNXUNYpxael3UzMyo= | ||
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= | ||
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= | ||
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= | ||
github.com/onsi/gomega v1.35.1 h1:Cwbd75ZBPxFSuZ6T+rN/WCb/gOc6YgFBXLlZLhC7Ds4= | ||
github.com/onsi/gomega v1.35.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog= | ||
github.com/openshift-eng/openshift-tests-extension v0.0.0-20250522124649-4ffcd156ec7c h1:R5dI2oOF2RtS1sKtLrhW9KMg0ydzF0XM2Q//ma55nWI= | ||
github.com/openshift-eng/openshift-tests-extension v0.0.0-20250522124649-4ffcd156ec7c/go.mod h1:6gkP5f2HL0meusT0Aim8icAspcD1cG055xxBZ9yC68M= | ||
github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20241205171354-8006f302fd12 h1:AKx/w1qpS8We43bsRgf8Nll3CGlDHpr/WAXvuedTNZI= | ||
github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20241205171354-8006f302fd12/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo= | ||
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= | ||
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= | ||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= | ||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= | ||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= | ||
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= | ||
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= | ||
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= | ||
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= | ||
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= | ||
github.com/stoewer/go-strcase v1.2.0 h1:Z2iHWqGXH00XYgqDmNgQbIBxf3wrNq0F3feEy0ainaU= | ||
github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= | ||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= | ||
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= | ||
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= | ||
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= | ||
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc h1:mCRnTeVUjcrhlRmO0VK8a6k6Rrf6TF9htwo2pJVSjIU= | ||
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= | ||
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4= | ||
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU= | ||
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= | ||
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= | ||
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= | ||
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= | ||
golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ= | ||
golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0= | ||
google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7 h1:YcyjlL1PRr2Q17/I0dPk2JmYS5CDXfcdb2Z3YRioEbw= | ||
google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7/go.mod h1:OCdP9MfskevB/rbYvHTsXTtKC+3bHWajPdoKgjcYkfo= | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61 h1:N9BgCIAUvn/M+p4NJccWPWb3BWh88+zyL0ll9HgbEeM= | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= | ||
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= | ||
google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= | ||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= | ||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= | ||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= | ||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package test | ||
|
||
import ( | ||
"context" | ||
|
||
//nolint:staticcheck // ST1001: dot-imports are acceptable here for readability in test code | ||
. "github.com/onsi/ginkgo/v2" | ||
//nolint:staticcheck // ST1001: dot-imports are acceptable here for readability in test code | ||
. "github.com/onsi/gomega" | ||
) | ||
|
||
var _ = Describe("[sig-olmv1] OLMv1", func() { | ||
It("should pass a trivial sanity check", func(ctx context.Context) { | ||
Expect(len("test")).To(BeNumerically(">", 0)) | ||
}) | ||
}) |
26 changes: 26 additions & 0 deletions
26
openshift/tests-extension/vendor/github.com/antlr/antlr4/runtime/Go/antlr/v4/LICENSE
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.