Skip to content

Commit

Permalink
Fixed blackbox tests
Browse files Browse the repository at this point in the history
  • Loading branch information
drieschel authored and Immanuel Klinkenberg committed Oct 19, 2023
1 parent f5b8904 commit 9407858
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Test/BlackBoxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function gaugesShouldBeOverwritten(): void

];

Promise\settle($promises)->wait();
Promise\Utils::settle($promises)->wait();
$end = microtime(true);
echo "\ntime: " . ($end - $start) . "\n";

Expand Down Expand Up @@ -84,7 +84,7 @@ public function countersShouldIncrementAtomically($increment): void
$n += $increment;
}

Promise\settle($promises)->wait();
Promise\Utils::settle($promises)->wait();
$end = microtime(true);
echo "\ntime: " . ($end - $start) . "\n";

Expand Down Expand Up @@ -124,7 +124,7 @@ public function histogramsShouldIncrementAtomically(): void
$this->client->getAsync('/examples/some_histogram.php?c=9&adapter=' . $this->adapter),
];

Promise\settle($promises)->wait();
Promise\Utils::settle($promises)->wait();
$end = microtime(true);
echo "\ntime: " . ($end - $start) . "\n";

Expand Down Expand Up @@ -168,7 +168,7 @@ public function summariesShouldIncrementAtomically(): void
$this->client->getAsync('/examples/some_summary.php?c=10&adapter=' . $this->adapter),
];

Promise\settle($promises)->wait();
Promise\Utils::settle($promises)->wait();
$end = microtime(true);
echo "\ntime: " . ($end - $start) . "\n";

Expand Down

0 comments on commit 9407858

Please sign in to comment.