Skip to content

Commit

Permalink
Call TearDown
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed Jul 2, 2024
1 parent ec30133 commit da3a344
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion flytectl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include ../boilerplate/flyte/docker_build/Makefile
include ../boilerplate/flyte/golang_test_targets/Makefile
include ../boilerplate/flyte/end2end/Makefile

GIT_VERSION := $(shell git describe --dirty --tags --long --match flytectl/* --first-parent | sed 's/^flytectl\///')
GIT_VERSION := $(shell git describe --dirty --tags --long --match 'flytectl/*' --first-parent | sed 's/^flytectl\///')
GIT_HASH := $(shell git rev-parse --short HEAD)
TIMESTAMP := $(shell date '+%Y-%m-%d')
PACKAGE ?=github.com/flyteorg/flyte/flytestdlib
Expand Down
3 changes: 3 additions & 0 deletions flytectl/cmd/version/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func TestVersionCommand(t *testing.T) {
func TestVersionCommandFunc(t *testing.T) {
ctx := context.Background()
s := testutils.Setup()
defer s.TearDown()
stdlibversion.Build = ""
stdlibversion.BuildTime = ""
stdlibversion.Version = testVersion
Expand All @@ -67,6 +68,7 @@ func TestVersionCommandFunc(t *testing.T) {
func TestVersionCommandFuncError(t *testing.T) {
ctx := context.Background()
s := testutils.Setup()
defer s.TearDown()
stdlibversion.Build = ""
stdlibversion.BuildTime = ""
stdlibversion.Version = "v"
Expand All @@ -79,6 +81,7 @@ func TestVersionCommandFuncError(t *testing.T) {
func TestVersionCommandFuncErr(t *testing.T) {
ctx := context.Background()
s := testutils.Setup()
defer s.TearDown()
stdlibversion.Build = ""
stdlibversion.BuildTime = ""
stdlibversion.Version = testVersion
Expand Down

0 comments on commit da3a344

Please sign in to comment.