@@ -15,6 +15,7 @@ public class ResourceCommandAnnotationTests
15
15
[ InlineData ( CommandsConfigurationExtensions . StartCommandName , "Exited" , ResourceCommandState . Enabled ) ]
16
16
[ InlineData ( CommandsConfigurationExtensions . StartCommandName , "Finished" , ResourceCommandState . Enabled ) ]
17
17
[ InlineData ( CommandsConfigurationExtensions . StartCommandName , "FailedToStart" , ResourceCommandState . Enabled ) ]
18
+ [ InlineData ( CommandsConfigurationExtensions . StartCommandName , "Unknown" , ResourceCommandState . Enabled ) ]
18
19
[ InlineData ( CommandsConfigurationExtensions . StartCommandName , "Waiting" , ResourceCommandState . Enabled ) ]
19
20
[ InlineData ( CommandsConfigurationExtensions . StartCommandName , "RuntimeUnhealthy" , ResourceCommandState . Disabled ) ]
20
21
[ InlineData ( CommandsConfigurationExtensions . StopCommandName , "Starting" , ResourceCommandState . Hidden ) ]
@@ -23,6 +24,7 @@ public class ResourceCommandAnnotationTests
23
24
[ InlineData ( CommandsConfigurationExtensions . StopCommandName , "Exited" , ResourceCommandState . Hidden ) ]
24
25
[ InlineData ( CommandsConfigurationExtensions . StopCommandName , "Finished" , ResourceCommandState . Hidden ) ]
25
26
[ InlineData ( CommandsConfigurationExtensions . StopCommandName , "FailedToStart" , ResourceCommandState . Hidden ) ]
27
+ [ InlineData ( CommandsConfigurationExtensions . StopCommandName , "Unknown" , ResourceCommandState . Hidden ) ]
26
28
[ InlineData ( CommandsConfigurationExtensions . StopCommandName , "Waiting" , ResourceCommandState . Hidden ) ]
27
29
[ InlineData ( CommandsConfigurationExtensions . StopCommandName , "RuntimeUnhealthy" , ResourceCommandState . Hidden ) ]
28
30
[ InlineData ( CommandsConfigurationExtensions . RestartCommandName , "Starting" , ResourceCommandState . Disabled ) ]
@@ -31,6 +33,7 @@ public class ResourceCommandAnnotationTests
31
33
[ InlineData ( CommandsConfigurationExtensions . RestartCommandName , "Exited" , ResourceCommandState . Disabled ) ]
32
34
[ InlineData ( CommandsConfigurationExtensions . RestartCommandName , "Finished" , ResourceCommandState . Disabled ) ]
33
35
[ InlineData ( CommandsConfigurationExtensions . RestartCommandName , "FailedToStart" , ResourceCommandState . Disabled ) ]
36
+ [ InlineData ( CommandsConfigurationExtensions . RestartCommandName , "Unknown" , ResourceCommandState . Disabled ) ]
34
37
[ InlineData ( CommandsConfigurationExtensions . RestartCommandName , "Waiting" , ResourceCommandState . Disabled ) ]
35
38
[ InlineData ( CommandsConfigurationExtensions . RestartCommandName , "RuntimeUnhealthy" , ResourceCommandState . Disabled ) ]
36
39
public void LifeCycleCommands_CommandState ( string commandName , string resourceState , ResourceCommandState commandState )
0 commit comments