Skip to content

Commit ec34acb

Browse files
timsehnfulghum
andauthored
Update server/handler_test.go
Co-authored-by: Jason Fulghum <[email protected]>
1 parent 9a4cda8 commit ec34acb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

server/handler_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1971,16 +1971,6 @@ func TestLoggerFieldsSetup(t *testing.T) {
19711971
require.Equal(t, conn.ConnectionID, connID, "Connection ID should match")
19721972
}
19731973

1974-
// TestQueryTimeConstantDefined tests that the QueryTimeLogKey constant is properly defined and available
1975-
func TestQueryTimeConstantDefined(t *testing.T) {
1976-
// Verify the constant exists and has the expected value
1977-
require.Equal(t, "queryTime", sql.QueryTimeLogKey, "QueryTimeLogKey constant should be defined as 'queryTime'")
1978-
1979-
// Verify it's different from other log keys
1980-
require.NotEqual(t, sql.QueryTimeLogKey, sql.ConnectTimeLogKey, "QueryTimeLogKey should be different from ConnectTimeLogKey")
1981-
require.NotEqual(t, sql.QueryTimeLogKey, sql.ConnectionIdLogField, "QueryTimeLogKey should be different from ConnectionIdLogField")
1982-
}
1983-
19841974
// TestHandlerDoQueryIntegration tests the complete doQuery flow to ensure query time handling works
19851975
func TestHandlerDoQueryIntegration(t *testing.T) {
19861976
e, pro := setupMemDB(require.New(t))

0 commit comments

Comments
 (0)