Skip to content

Commit

Permalink
Extend the time out for executing the test with RemoteExecutor (#88786)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekgh authored Jul 13, 2023
1 parent f1ea95a commit 65611bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ public class MyOptions

// validate the location is inside the MyOptions class and not outside the compilation which is in the referenced assembly
Assert.StartsWith("src-0.cs: (12,", diag.Location.GetLineSpan().ToString());
}, assemblyPath).Dispose();
}, assemblyPath, new RemoteInvokeOptions { TimeOut = 300 * 1000}).Dispose();

File.Delete(assemblyPath); // cleanup
}
Expand Down Expand Up @@ -1379,7 +1379,7 @@ internal sealed partial class ExtOptionsValidator : IValidateOptions<ExtOptions>
MemoryStream ms = new();
EmitResult emitResult = compilation.Emit(ms);
Assert.True(emitResult.Success);
}, assemblyPath).Dispose();
}, assemblyPath, new RemoteInvokeOptions { TimeOut = 300 * 1000}).Dispose();

File.Delete(assemblyPath); // cleanup

Expand Down

0 comments on commit 65611bd

Please sign in to comment.