forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
execution_stage: fix wrong exception thrown for non-unique stages
The metrics API now also enforces uniqueness, and as it is called before execution stage registration, it throws earlier, and confuses the unit test because a different exception type is expected. Fix by reversing the order of metrics registration and execution stage registration.
- Loading branch information
Showing
1 changed file
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters