Skip to content

TestAttemptDetail

What one attempt of a test measured: its process metrics (pid, CPU, RSS, open files, duration, exit code, goroutines), read live while the attempt runs, and its timeout stack trace. A pid shared by every package of a go test batch is labelled as such, since the numbers are the batch’s.

Source

import { TestAttemptDetail } from "@flanksource/clicky-ui/data";
Finished · Open in Storybook
Shared By Batch · Open in Storybook
No Metrics · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
attempt* TestAttempt — —
fetchProcessMetrics FetchProcessMetrics — Reads the attempt's process while it is live, every two seconds. Polling stops when the attempt finishes or the fetch rejects with `ProcessNotFoundError`; any other rejection is shown and polling goes on.