Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianElvis committed Nov 20, 2024
1 parent a2598dd commit 52fb66d
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions test/e2e/bcd_consumer_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"math/rand"
"os"
"os/exec"
"path/filepath"
"strings"
"time"
Expand Down Expand Up @@ -70,26 +69,26 @@ func (s *BCDConsumerIntegrationTestSuite) SetupSuite() {
}

func (s *BCDConsumerIntegrationTestSuite) TearDownSuite() {
s.T().Log("tearing down e2e integration test suite...")

// Get the current working directory
currentDir, err := os.Getwd()
if err != nil {
s.T().Errorf("Failed to get current working directory: %v", err)
return
}

// Construct the path to the Makefile directory
makefileDir := filepath.Join(currentDir, "../../contrib/images")

// Run the stop-bcd-consumer-integration make target
cmd := exec.Command("make", "-C", makefileDir, "stop-bcd-consumer-integration")
output, err := cmd.CombinedOutput()
if err != nil {
s.T().Errorf("Failed to run stop-bcd-consumer-integration: %v\nOutput: %s", err, output)
} else {
s.T().Log("Successfully stopped integration test")
}
// s.T().Log("tearing down e2e integration test suite...")

// // Get the current working directory
// currentDir, err := os.Getwd()
// if err != nil {
// s.T().Errorf("Failed to get current working directory: %v", err)
// return
// }

// // Construct the path to the Makefile directory
// makefileDir := filepath.Join(currentDir, "../../contrib/images")

// // Run the stop-bcd-consumer-integration make target
// cmd := exec.Command("make", "-C", makefileDir, "stop-bcd-consumer-integration")
// output, err := cmd.CombinedOutput()
// if err != nil {
// s.T().Errorf("Failed to run stop-bcd-consumer-integration: %v\nOutput: %s", err, output)
// } else {
// s.T().Log("Successfully stopped integration test")
// }
}

func (s *BCDConsumerIntegrationTestSuite) Test1ChainStartup() {
Expand Down

0 comments on commit 52fb66d

Please sign in to comment.