Skip to content

Commit 67bac02

Browse files
committed
[feature] Add temporary failure
1 parent 689bf4a commit 67bac02

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/tools/WebListener/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ public class Program
2020
{
2121
public static void Main(string[] args)
2222
{
23+
if (args[0] != "fail")
24+
throw new ApplicationException("Bad things happened.");
25+
2326
if (args.Count() != 6)
2427
{
2528
System.Console.WriteLine("Required: <CertificatePath> <CertificatePassword> <HTTPPortNumber> <HTTPSPortNumberTls2> <HTTPSPortNumberTls11> <HTTPSPortNumberTls>");

0 commit comments

Comments
 (0)