Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
belimawr committed Nov 15, 2023
1 parent 4dfe623 commit 621b857
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion .buildkite/scripts/steps/integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ AGENT_PACKAGE_VERSION="${OVERRIDE_AGENT_PACKAGE_VERSION}" DEV=true EXTERNAL=true

# Run integration tests
set +e
AGENT_VERSION="${OVERRIDE_TEST_AGENT_VERSION}" TEST_INTEG_CLEAN_ON_EXIT=true STACK_PROVISIONER="$STACK_PROVISIONER" SNAPSHOT=true mage -v $MAGE_TARGET $MAGE_SUBTARGET
AGENT_VERSION="${OVERRIDE_TEST_AGENT_VERSION}" TEST_INTEG_CLEAN_ON_EXIT=true STACK_PROVISIONER="$STACK_PROVISIONER" SNAPSHOT=true mage $MAGE_TARGET $MAGE_SUBTARGET
TESTS_EXIT_STATUS=$?
set -e

Expand Down
10 changes: 0 additions & 10 deletions testing/integration/logs_ingestion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,21 +195,11 @@ func testMonitoringLogsAreShipped(

func findESDocs(t *testing.T, findFn func() (estools.Documents, error)) estools.Documents {
var docs estools.Documents
start := time.Now()
defer func() {
fmt.Println(">>>>>>>>>>>>>>>>>>>> Took", time.Now().Sub(start))
}()
count := 0
require.Eventually(
t,
func() bool {
count++
fmt.Println(">>>>>>>>>>>>>>>>>>>> Iteration ", count)
var err error
docs, err = findFn()
if err != nil {
fmt.Println(">>>>>>>>>>>>>>>>>>>> error tying to fetch ES docs: ", err)
}
return err == nil
},
8*time.Minute,
Expand Down

0 comments on commit 621b857

Please sign in to comment.