-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/adt: rename state constants in sched_test
We use a separate set of state flags to test the scheduler. These use different and more abstract names. However, on VSCode, at least, the debugger wil show the test constants instead of the ones in state.go for the respective bit flags even when testing main code. We rename the flags to have similar names to ease debugging. We add a test case to ensure the names are in sync. Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I99750f17be2c579bfaf50ab88d7e4c41989ebf00 Dispatch-Trailer: {"type":"trybot","CL":1206316,"patchset":1,"ref":"refs/changes/16/1206316/1","targetBranch":"master"}
- Loading branch information
Showing
1 changed file
with
68 additions
and
43 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