Add comments for the change

This commit is contained in:
Chaoguang Lin 2021-09-03 14:32:27 -07:00
parent 56ed0f3b9c
commit 0d1382eeba
1 changed files with 3 additions and 1 deletions

View File

@ -336,7 +336,9 @@ namespace SummarizeTest
}
List<string> oldBinariesList = oldBinaries.ToList<string>();
if (oldBinariesList.Count == 0) {
Console.WriteLine("No available binary version from {0} to {1}", oldBinaryVersionLowerBound, oldBinaryVersionUpperBound);
// In theory, restarting tests are named to have at least one old binary version to run
// But if none of the provided old binaries fall in the range, we just skip the test
Console.WriteLine("No available old binary version from {0} to {1}", oldBinaryVersionLowerBound, oldBinaryVersionUpperBound);
return 0;
} else {
oldServerName = random.Choice(oldBinariesList);