From e05979aa8e54fbef9b82962c8ed4f719396ea42b Mon Sep 17 00:00:00 2001 From: Sam DeHaan Date: Thu, 12 Dec 2024 16:27:43 -0500 Subject: [PATCH] Add build tag, fix fmt --- receiver/postgresqlreceiver/integration_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/receiver/postgresqlreceiver/integration_test.go b/receiver/postgresqlreceiver/integration_test.go index d6423730d805..a95199536142 100644 --- a/receiver/postgresqlreceiver/integration_test.go +++ b/receiver/postgresqlreceiver/integration_test.go @@ -1,6 +1,8 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 +//go:build integration + package postgresqlreceiver import ( @@ -21,8 +23,10 @@ import ( const postgresqlPort = "5432" -const pre17TestVersion = "13.18" -const post17TestVersion = "17.2" +const ( + pre17TestVersion = "13.18" + post17TestVersion = "17.2" +) func TestIntegration(t *testing.T) { defer testutil.SetFeatureGateForTest(t, separateSchemaAttrGate, false)()