cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.05k stars 3.8k forks source link

pkg/server/application_api/application_api_test: TestDatabaseAndTableIndexRecommendations failed #117196

Closed cockroach-teamcity closed 9 months ago

cockroach-teamcity commented 9 months ago

pkg/server/application_api/application_api_test.TestDatabaseAndTableIndexRecommendations failed on master @ c316d6a615fa02a05357a20bf03b8a197ab27810:

=== RUN   TestDatabaseAndTableIndexRecommendations
    test_log_scope.go:170: test logs captured to: outputs.zip/logTestDatabaseAndTableIndexRecommendations4124932173
    test_log_scope.go:81: use -show-logs to present logs inline
    conditional_wrap.go:190: 
        pkg/server/application_api/application_api_test_test/pkg/server/application_api/insights_test.go:93: (TestDatabaseAndTableIndexRecommendations)
            NOTICE: .ClusterSettings() called via implicit interface ApplicationLayerInterface;
        HINT: consider using .ApplicationLayer().ClusterSettings() instead.
    conditional_wrap.go:194: TIP: consider replacing the test server initialization from:
            ts, ... := serverutils.StartServer(t, ...)
            defer ts.Stopper().Stop(...)
        to:
            srv, ... := serverutils.StartServer(t, ...)
            defer srv.Stopper().Stop(...)
            ts := srv.ApplicationLayer()

        See also: https://go.crdb.dev/p/testserver-and-cluster-virtualization
    insights_test.go:123: Get "https://127.0.0.1:32857/_admin/v1/databases/test/tables/test_table": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    panic.go:541: -- test log scope end --
test logs left over in: outputs.zip/logTestDatabaseAndTableIndexRecommendations4124932173
--- FAIL: TestDatabaseAndTableIndexRecommendations (69.52s)

Parameters:

See also: How To Investigate a Go Test Failure (internal)

/cc @cockroachdb/unowned

This test on roachdash | Improve this report!

Jira issue: CRDB-35049

rickystewart commented 9 months ago

Pre-emptively closing (internal link) -- feel free to re-open if necessary for any reason.