Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static class MetadataNames
private const string EntryPointScript = "xharness-helix-job.apple.sh";
private const string RunnerScript = "xharness-runner.apple.sh";

private static readonly TimeSpan s_defaultLaunchTimeout = TimeSpan.FromMinutes(10);
private static readonly TimeSpan s_defaultLaunchTimeout = TimeSpan.FromMinutes(5);

/// <summary>
/// An array of one or more paths to iOS/tvOS app bundles (folders ending with ".app" usually)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,14 @@ if [ $exit_code -eq 81 ] && [[ "$target" =~ "device" ]]; then
touch './.reboot'
fi

# Simulators are known to slow down which results in installation taking several minutes
# Retry+reboot usually resolves this
# 86 - app installation timeout
if [ $exit_code -eq 86 ]; then
touch './.retry'
touch './.reboot'
fi

# The simulator logs comming from the sudo-spawned Simulator.app are not readable/deletable by the helix uploader
chmod -R 0766 "$output_directory"

Expand Down