Skip to content

Commit

Permalink
WIP: fix merge/rebase test issues and remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
vzayts committed Dec 5, 2023
1 parent 3ea7ac6 commit 54b09ed
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions supervisor_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,20 +193,15 @@ var jsonWithSqlInputSource = `{
},
"dimensionsSpec": {
"dimensions": [
{
"type": "string",
"name": "ts"
},
{
"type": "json",
"name": "payload"
}
"ts",
"user_name",
"payload"
]
},
"granularitySpec": {
"type": "uniform",
"segmentGranularity": "DAY",
"queryGranularity: {type": "none"}
"queryGranularity": {"type": "none"}
}
},
"ioConfig": {
Expand Down Expand Up @@ -259,9 +254,6 @@ func TestIngestionSpecWithSqlInputSource_MarshalJSON(t *testing.T) {
}
expected := []byte(jsonWithSqlInputSource)

fmt.Println("Expected: " + string(expected))
fmt.Println("Actual : " + string(actual))

require.JSONEq(t, string(expected), string(actual), fmt.Sprintf("expected: %s\nactual: %s", string(expected), string(actual)))

var checkSpec *InputIngestionSpec
Expand Down

0 comments on commit 54b09ed

Please sign in to comment.