Skip to content

Commit

Permalink
Update message and remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinFairise2 committed Dec 9, 2024
1 parent 6c2cdbd commit 67c986b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tasks/tools/gotest-scrubbed.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
### This script is used to run go test and scrub the output of API keys, the input should be of the form:
### This script is used to run go test and scrub the output, the command can be used as follow:
### ./gotest-scrubbed.sh <packages comma separated> -- <go tests flags>
go test -json "$1" "${@:3}" |
sed -E 's/\b[a-fA-F0-9]{27}([a-fA-F0-9]{5})\b/**************************\1/g' | # Scrub API keys
Expand Down
3 changes: 0 additions & 3 deletions test/new-e2e/test-infra-definition/vm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
package testinfradefinition

import (
"fmt"
"testing"

"github.com/DataDog/datadog-agent/test/new-e2e/pkg/e2e"
Expand Down Expand Up @@ -83,8 +82,6 @@ func TestVMSuite(t *testing.T) {

func (v *vmSuiteWithAMI) TestWithImageName() {
vm := v.Env().RemoteHost
fmt.Print("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
fmt.Println("this is a fake api_key:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
metadata := client.NewEC2Metadata(v.T(), vm.Host, vm.OSFamily)
require.Equal(v.T(), requestedAmi, metadata.Get("ami-id"))
require.Equal(v.T(), "aarch64\n", vm.MustExecute("uname -m"))
Expand Down
1 change: 1 addition & 0 deletions test/new-e2e/toto.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./examples/...

0 comments on commit 67c986b

Please sign in to comment.