Skip to content
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

Add integration build tag #258

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .buildkite/scripts/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Write-Host "--- Run test"
$ErrorActionPreference = "Continue" # set +e
mkdir -p build
$OUT_FILE="output-report.out"
go test "./..." -v > $OUT_FILE
go test -tags integration "./..." -v > $OUT_FILE
$EXITCODE=$LASTEXITCODE
$ErrorActionPreference = "Stop"

Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ with_go_junit_report

echo "--- Go Test"
set +e
go test -race -v ./... > tests-report.txt
go test -tags integration -race -v ./... > tests-report.txt
exit_code=$?
set -e

Expand Down
2 changes: 0 additions & 2 deletions file/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// specific language governing permissions and limitations
// under the License.

//go:build !integration

package file

import (
Expand Down
2 changes: 0 additions & 2 deletions kibana/url_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// specific language governing permissions and limitations
// under the License.

//go:build !integration

package kibana

import (
Expand Down
2 changes: 1 addition & 1 deletion logp/core_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

//go:build linux
//go:build linux && integration

package logp

Expand Down
2 changes: 0 additions & 2 deletions mapstr/mapstr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// specific language governing permissions and limitations
// under the License.

//go:build !integration

package mapstr

import (
Expand Down
2 changes: 0 additions & 2 deletions monitoring/opts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// specific language governing permissions and limitations
// under the License.

//go:build !integration

package monitoring

import (
Expand Down
2 changes: 0 additions & 2 deletions monitoring/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// specific language governing permissions and limitations
// under the License.

//go:build !integration

package monitoring

import (
Expand Down
2 changes: 0 additions & 2 deletions monitoring/visitor_expvar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// specific language governing permissions and limitations
// under the License.

//go:build !integration

package monitoring

import (
Expand Down
2 changes: 0 additions & 2 deletions transform/typeconv/datetime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// specific language governing permissions and limitations
// under the License.

//go:build !integration

package typeconv

import (
Expand Down
2 changes: 0 additions & 2 deletions transport/tlscommon/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// specific language governing permissions and limitations
// under the License.

//go:build !integration

package tlscommon

import (
Expand Down
Loading