mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
test/e2e: stop running benchmarks that output decision logs in GHA (#3273)
If you want to run them, use `make perf-noisy`. Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
This commit is contained in:
@@ -109,6 +109,10 @@ test-coverage: generate
|
||||
perf: generate
|
||||
$(GO) test $(GO_TAGS),slow $(GO_TEST_TIMEOUT) -run=- -bench=. -benchmem ./...
|
||||
|
||||
.PHONY: perf-noisy
|
||||
perf-noisy: generate
|
||||
$(GO) test $(GO_TAGS),slow,noisy $(GO_TEST_TIMEOUT) -run=- -bench=. -benchmem ./...
|
||||
|
||||
.PHONY: wasm-sdk-e2e-test
|
||||
wasm-sdk-e2e-test: generate
|
||||
$(GO) test $(GO_TAGS),slow,wasm_sdk_e2e $(GO_TEST_TIMEOUT) -v ./internal/wasm/sdk/test/e2e
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
// Copyright 2020 The OPA Authors. All rights reserved.
|
||||
// Use of this source code is governed by an Apache2
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build noisy
|
||||
|
||||
package console
|
||||
|
||||
import (
|
||||
|
||||
@@ -11,13 +11,11 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/open-policy-agent/opa/plugins"
|
||||
"github.com/open-policy-agent/opa/runtime"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/sirupsen/logrus/hooks/test"
|
||||
|
||||
"github.com/open-policy-agent/opa/plugins"
|
||||
"github.com/open-policy-agent/opa/runtime"
|
||||
"github.com/open-policy-agent/opa/test/e2e"
|
||||
)
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by an Apache2
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build noisy
|
||||
|
||||
package remote
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user