Fixed large amount of spelling errors (#83744)
This commit is contained in:
@@ -73,7 +73,7 @@ class Cocoon {
|
||||
/// Flutter infrastructure's workflow is:
|
||||
/// 1. Run DeviceLab test, writing results to a known path
|
||||
/// 2. Request service account token from luci auth (valid for at least 3 minutes)
|
||||
/// 3. Upload results from (1) to Cocooon
|
||||
/// 3. Upload results from (1) to Cocoon
|
||||
Future<void> sendResultsPath(String resultsPath) async {
|
||||
final File resultFile = fs.file(resultsPath);
|
||||
final Map<String, dynamic> resultsJson = json.decode(await resultFile.readAsString()) as Map<String, dynamic>;
|
||||
|
||||
@@ -25,7 +25,7 @@ final Set<String> noRebootForbidList = <String>{
|
||||
/// The maximum number of test runs before a device must be rebooted.
|
||||
///
|
||||
/// This number was chosen arbitrarily.
|
||||
const int maxiumRuns = 30;
|
||||
const int maximumRuns = 30;
|
||||
|
||||
/// Represents a unit of work performed in the CI environment that can
|
||||
/// succeed, fail and be retried independently of others.
|
||||
@@ -190,7 +190,7 @@ class _TaskRunner {
|
||||
} else {
|
||||
runCount = 0;
|
||||
}
|
||||
if (runCount < maxiumRuns) {
|
||||
if (runCount < maximumRuns) {
|
||||
rebootFile
|
||||
..createSync()
|
||||
..writeAsStringSync((runCount + 1).toString());
|
||||
|
||||
Reference in New Issue
Block a user