From 54b09ed9f3c65afd9d4f25ac867caa9916554b67 Mon Sep 17 00:00:00 2001 From: vzaytsev Date: Tue, 5 Dec 2023 11:46:20 -0500 Subject: [PATCH] WIP: fix merge/rebase test issues and remove debug print --- supervisor_types_test.go | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/supervisor_types_test.go b/supervisor_types_test.go index 9fd3f64..7c98070 100644 --- a/supervisor_types_test.go +++ b/supervisor_types_test.go @@ -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": { @@ -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