@@ -43,7 +43,7 @@ public PodExecTests(ITestOutputHelper testOutput)
43
43
/// Verify that the client can request execution of a command in a pod's default container, with only the STDOUT stream enabled.
44
44
/// </summary>
45
45
[ Fact ( DisplayName = "Can exec in pod's default container, STDOUT only" ) ]
46
- public async Task Exec_DefaultContainer_StdOut ( )
46
+ public async Task ExecDefaultContainerStdOut ( )
47
47
{
48
48
if ( ! Debugger . IsAttached )
49
49
{
@@ -100,15 +100,15 @@ await Disconnect(clientSocket, serverSocket,
100
100
}
101
101
102
102
[ Fact ]
103
- public void GetExitCodeOrThrow_Success ( )
103
+ public void GetExitCodeOrThrowSuccess ( )
104
104
{
105
105
var status = new V1Status ( ) { Metadata = null , Status = "Success" , } ;
106
106
107
107
Assert . Equal ( 0 , Kubernetes . GetExitCodeOrThrow ( status ) ) ;
108
108
}
109
109
110
110
[ Fact ]
111
- public void GetExitCodeOrThrow_NonZeroExitCode ( )
111
+ public void GetExitCodeOrThrowNonZeroExitCode ( )
112
112
{
113
113
var status = new V1Status ( )
114
114
{
@@ -129,7 +129,7 @@ public void GetExitCodeOrThrow_NonZeroExitCode()
129
129
}
130
130
131
131
[ Fact ]
132
- public void GetExitCodeOrThrow_InvalidExitCode ( )
132
+ public void GetExitCodeOrThrowInvalidExitCode ( )
133
133
{
134
134
var status = new V1Status ( )
135
135
{
@@ -151,7 +151,7 @@ public void GetExitCodeOrThrow_InvalidExitCode()
151
151
}
152
152
153
153
[ Fact ]
154
- public void GetExitCodeOrThrow_NoExitCode ( )
154
+ public void GetExitCodeOrThrowNoExitCode ( )
155
155
{
156
156
var status = new V1Status ( )
157
157
{
@@ -167,7 +167,7 @@ public void GetExitCodeOrThrow_NoExitCode()
167
167
}
168
168
169
169
[ Fact ]
170
- public void GetExitCodeOrThrow_OtherError ( )
170
+ public void GetExitCodeOrThrowOtherError ( )
171
171
{
172
172
var status = new V1Status ( ) { Metadata = null , Status = "Failure" , Reason = "SomethingElse" } ;
173
173
@@ -176,7 +176,7 @@ public void GetExitCodeOrThrow_OtherError()
176
176
}
177
177
178
178
[ Fact ]
179
- public async Task NamespacedPodExecAsync_ActionNull ( )
179
+ public async Task NamespacedPodExecAsyncActionNull ( )
180
180
{
181
181
using ( MemoryStream stdIn = new MemoryStream ( ) )
182
182
using ( MemoryStream stdOut = new MemoryStream ( ) )
@@ -208,7 +208,7 @@ await Assert.ThrowsAsync<ArgumentNullException>(() => client.NamespacedPodExecAs
208
208
}
209
209
210
210
[ Fact ]
211
- public async Task NamespacedPodExecAsync_HttpException_WithStatus ( )
211
+ public async Task NamespacedPodExecAsyncHttpExceptionWithStatus ( )
212
212
{
213
213
var kubernetesMock = new Moq . Mock < Kubernetes > (
214
214
new object [ ] { Moq . Mock . Of < ServiceClientCredentials > ( ) , new DelegatingHandler [ ] { } } ) ;
@@ -231,7 +231,7 @@ public async Task NamespacedPodExecAsync_HttpException_WithStatus()
231
231
}
232
232
233
233
[ Fact ]
234
- public async Task NamespacedPodExecAsync_HttpException_NoStatus ( )
234
+ public async Task NamespacedPodExecAsyncHttpExceptionNoStatus ( )
235
235
{
236
236
var kubernetesMock = new Moq . Mock < Kubernetes > (
237
237
new object [ ] { Moq . Mock . Of < ServiceClientCredentials > ( ) , new DelegatingHandler [ ] { } } ) ;
@@ -254,7 +254,7 @@ public async Task NamespacedPodExecAsync_HttpException_NoStatus()
254
254
}
255
255
256
256
[ Fact ]
257
- public async Task NamespacedPodExecAsync_GenericException ( )
257
+ public async Task NamespacedPodExecAsyncGenericException ( )
258
258
{
259
259
var kubernetesMock = new Moq . Mock < Kubernetes > (
260
260
new object [ ] { Moq . Mock . Of < ServiceClientCredentials > ( ) , new DelegatingHandler [ ] { } } ) ;
@@ -277,7 +277,7 @@ public async Task NamespacedPodExecAsync_GenericException()
277
277
}
278
278
279
279
[ Fact ]
280
- public async Task NamespacedPodExecAsync_ExitCode_NonZero ( )
280
+ public async Task NamespacedPodExecAsyncExitCodeNonZero ( )
281
281
{
282
282
var processStatus = new V1Status ( )
283
283
{
0 commit comments