File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
src/Testcontainers.Pulsar Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -180,31 +180,5 @@ private async Task<bool> UntilAsync(PulsarContainer container)
180180 return await _httpWaitStrategy . UntilAsync ( container )
181181 . ConfigureAwait ( false ) ;
182182 }
183-
184- /// <summary>
185- /// Determines whether the cluster is healthy or not.
186- /// </summary>
187- /// <param name="response">The HTTP response that contains the cluster information.</param>
188- /// <returns>A value indicating whether the cluster is healthy or not.</returns>
189- private static async Task < bool > IsClusterHealthyAsync ( HttpResponseMessage response )
190- {
191- var jsonString = await response . Content . ReadAsStringAsync ( )
192- . ConfigureAwait ( false ) ;
193-
194- try
195- {
196- var status = JsonDocument . Parse ( jsonString )
197- . RootElement
198- . EnumerateArray ( )
199- . ElementAt ( 0 )
200- . GetString ( ) ;
201-
202- return "standalone" . Equals ( status ) ;
203- }
204- catch
205- {
206- return false ;
207- }
208- }
209183 }
210184}
You can’t perform that action at this time.
0 commit comments