Skip to content

Commit d5fc21c

Browse files
committed
Fix flakey test
1 parent 2e328e2 commit d5fc21c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Feature/Recorders/ServersTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
expect($payload->memory_used)->toBe(1234);
5555
expect($payload->memory_total)->toBe(123456789);
5656

57-
$aggregates = Pulse::ignore(fn () => DB::table('pulse_aggregates')->get());
57+
$aggregates = Pulse::ignore(fn () => DB::table('pulse_aggregates')->orderBy('type')->get());
5858
expect($aggregates->count())->toBe(8);
5959
expect($aggregates->pluck('type')->unique()->values()->all())->toBe(['cpu', 'memory']);
6060
expect($aggregates->pluck('value')->unique()->values()->all())->toEqual(['987654321.00', '1234.00']);

0 commit comments

Comments
 (0)