From 37b0350e95f3dc4c9dd63fe4322e395804c1c543 Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Tue, 24 Oct 2023 10:42:56 +0300 Subject: [PATCH] [#4] dialer: Move tests to integration tests Signed-off-by: Dmitrii Stepanov --- Makefile | 4 ++-- dialer_test.go => dialer_integration_test.go | 2 ++ health_test.go => health_integration_test.go | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) rename dialer_test.go => dialer_integration_test.go (99%) rename health_test.go => health_integration_test.go (99%) diff --git a/Makefile b/Makefile index 4d77641..d18847b 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,3 @@ -test: +integration-test: # TODO figure out needed capabilities - sudo go test -count=1 -v ./... + sudo go test -count=1 -v ./... -tags=integration diff --git a/dialer_test.go b/dialer_integration_test.go similarity index 99% rename from dialer_test.go rename to dialer_integration_test.go index 69e4581..d2deee1 100644 --- a/dialer_test.go +++ b/dialer_integration_test.go @@ -1,3 +1,5 @@ +//go:build integration + package multinet import ( diff --git a/health_test.go b/health_integration_test.go similarity index 99% rename from health_test.go rename to health_integration_test.go index 333df2e..95c893b 100644 --- a/health_test.go +++ b/health_integration_test.go @@ -1,3 +1,5 @@ +//go:build integration + package multinet import (