Skip to content

Commit 412df8c

Browse files
committed
Lib: Bump test downloader timeout to 5 minutes
1 parent b04ba51 commit 412df8c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

LibCpp2ILTests/Tests.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System;
12
using System.Net.Http;
23
using AssetRipper.Primitives;
34
using LibCpp2IL;
@@ -20,7 +21,7 @@ public Tests(ITestOutputHelper outputHelper)
2021
LibCpp2IlMain.Settings.AllowManualMetadataAndCodeRegInput = false;
2122
}
2223

23-
private static HttpClient client = new();
24+
private static HttpClient client = new() { Timeout = TimeSpan.FromMinutes(5) };
2425

2526
private async void CheckFiles(string metadataUrl, string binaryUrl, UnityVersion unityVer)
2627
{
@@ -52,6 +53,6 @@ private async void CheckFiles(string metadataUrl, string binaryUrl, UnityVersion
5253
[Fact]
5354
public void Metadata27_1_32BitSupportIsPresent() => CheckFiles("http://samboycoding.me/static/meta_27.1_x32.dat", "http://samboycoding.me/static/GA_27.1_x32.dll", new UnityVersion(2020, 2, 6));
5455

55-
// [Fact]
56-
// public void Metadata27_1_AARCH64ElfSupportIsPresent() => CheckFiles("http://samboycoding.me/static/meta_27.1_aarch64.dat", "http://samboycoding.me/static/GA_27.1_aarch64.so", new UnityVersion(2020, 2, 6));
56+
[Fact]
57+
public void Metadata27_1_AARCH64ElfSupportIsPresent() => CheckFiles("http://samboycoding.me/static/meta_27.1_aarch64.dat", "http://samboycoding.me/static/GA_27.1_aarch64.so", new UnityVersion(2020, 2, 6));
5758
}

0 commit comments

Comments
 (0)