diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-07-11 13:17:34 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-07-14 11:30:46 +0000 |
| commit | 76718eb73e3d1e2a43363d80ab15366706b6491f (patch) | |
| tree | 4d8008f2b7fcfb674e7f8c9562c9cc3643aea50f /syz-cluster/controller/processor_test.go | |
| parent | 0bfc1202cebeedf826d470296424f85dee4fe842 (diff) | |
syz-cluster: generate web dashboard URLs for reports
Take web dashboard URL from the config and use it to generate links for
logs, reproducers, etc.
Diffstat (limited to 'syz-cluster/controller/processor_test.go')
| -rw-r--r-- | syz-cluster/controller/processor_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/syz-cluster/controller/processor_test.go b/syz-cluster/controller/processor_test.go index 68c62ba48..147f5d6e2 100644 --- a/syz-cluster/controller/processor_test.go +++ b/syz-cluster/controller/processor_test.go @@ -97,7 +97,7 @@ func TestFinishRunningSteps(t *testing.T) { ExtID: "ext-id", Title: "title", } - _, sessionID := controller.UploadTestSeries(t, ctx, client, series) + ids := controller.UploadTestSeries(t, ctx, client, series) buildResp := controller.UploadTestBuild(t, ctx, client, &api.Build{ Arch: "amd64", TreeName: "mainline", @@ -105,7 +105,7 @@ func TestFinishRunningSteps(t *testing.T) { CommitHash: "abcd", }) err := client.UploadTestResult(ctx, &api.TestResult{ - SessionID: sessionID, + SessionID: ids.SessionID, BaseBuildID: buildResp.ID, TestName: "test", Result: api.TestRunning, @@ -119,7 +119,7 @@ func TestFinishRunningSteps(t *testing.T) { // Verify that the session test is finished. // A bit hacky, but it works. - list, err := processor.sessionTestRepo.BySessionRaw(ctx, sessionID) + list, err := processor.sessionTestRepo.BySessionRaw(ctx, ids.SessionID) assert.NoError(t, err) assert.Equal(t, api.TestError, list[0].Result) } |
