Fix: Prints should always include new lines (#102795)
* CI: Allow Bench conversion to fail We shouldn't mark PRs and commits as X if they fail to convert logs with Bench. * Fix: Prints should always include new lines * fix: remove unused import
This commit is contained in:
committed by
GitHub
parent
9094c73e33
commit
e1e1d3fd9f
@@ -3,7 +3,6 @@ package dashboards
|
||||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"testing"
|
||||
|
||||
@@ -71,7 +70,7 @@ func TestIntegrationSimpleQuery(t *testing.T) {
|
||||
},
|
||||
})
|
||||
|
||||
//fmt.Printf("%s", string(body))
|
||||
//t.Logf("%s", string(body))
|
||||
|
||||
require.NoError(t, err)
|
||||
|
||||
@@ -90,7 +89,7 @@ func TestIntegrationSimpleQuery(t *testing.T) {
|
||||
|
||||
body, err = result.Raw()
|
||||
require.NoError(t, err)
|
||||
fmt.Printf("OUT: %s", string(body))
|
||||
t.Logf("OUT: %s", string(body))
|
||||
|
||||
rsp := &backend.QueryDataResponse{}
|
||||
err = json.Unmarshal(body, rsp)
|
||||
@@ -135,7 +134,7 @@ func TestIntegrationSimpleQuery(t *testing.T) {
|
||||
Do(context.Background())
|
||||
|
||||
body, err = result.Raw()
|
||||
//fmt.Printf("OUT: %s", string(body))
|
||||
//t.Logf("OUT: %s", string(body))
|
||||
|
||||
require.Error(t, err, "expecting a 400")
|
||||
require.JSONEq(t, `{
|
||||
|
||||
Reference in New Issue
Block a user