Skip to content

Commit d1db5b3

Browse files
committed
Tests: fix NRE parsing Elastisearch console output
1 parent 8957c4a commit d1db5b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Framework/ManagedElasticsearch/Process/ElasticsearchConsoleOut.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public bool TryParseNodeInfo(out string version, out int? pid)
6969
version = null;
7070
pid = null;
7171
if (!this.InNodeSection) return false;
72-
72+
if (string.IsNullOrEmpty(this.Message)) return false;
7373
var match = InfoParser.Match(this.Message.Replace(Environment.NewLine, ""));
7474
if (!match.Success) return false;
7575

0 commit comments

Comments
 (0)