Skip to content

Commit 9833124

Browse files
author
tac0turtle
committed
remove extra comments
1 parent f4d1a07 commit 9833124

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎node/full_node_test.go‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ func TestStartInstrumentationServer(t *testing.T) {
3030

3131
node := &FullNode{
3232
nodeConfig: config,
33-
BaseService: *service.NewBaseService(logging.Logger("test"), "TestNode", nil), // Use ipfs/go-log
33+
BaseService: *service.NewBaseService(logging.Logger("test"), "TestNode", nil),
3434
}
35-
// Set log level for testing if needed, e.g., logging.SetLogLevel("test", "debug")
3635

3736
prometheusSrv, pprofSrv := node.startInstrumentationServer()
3837

@@ -52,7 +51,7 @@ func TestStartInstrumentationServer(t *testing.T) {
5251
assert.Equal(http.StatusOK, resp.StatusCode, "Prometheus metrics endpoint should return 200 OK")
5352
body, err := io.ReadAll(resp.Body)
5453
require.NoError(err)
55-
assert.Contains(string(body), "# HELP", "Prometheus metrics body should contain HELP lines") // Check for typical metrics content
54+
assert.Contains(string(body), "# HELP", "Prometheus metrics body should contain HELP lines")
5655

5756
resp, err = http.Get(fmt.Sprintf("http://%s/debug/pprof/", config.Instrumentation.PprofListenAddr))
5857
require.NoError(err, "Failed to get Pprof index")

0 commit comments

Comments
 (0)