mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Try and ignore flakey network tests
This commit is contained in:
parent
d8e0ab4b0c
commit
04bb16eda9
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
- name: Build
|
||||
run: dotnet build --configuration Release --no-restore
|
||||
- name: Test
|
||||
run: dotnet test --no-restore
|
||||
run: dotnet test --no-restore --filter "Category=!FlakeyNetwork"
|
||||
|
||||
publish:
|
||||
name: Publish Projects
|
||||
|
@ -188,7 +188,7 @@ namespace Wabbajack.Downloaders.Dispatcher.Test
|
||||
}
|
||||
};
|
||||
|
||||
[Theory]
|
||||
[Theory, Trait("Category", "FlakeyNetwork")]
|
||||
[MemberData(nameof(TestStates))]
|
||||
public async Task TestDownloadingFile(Archive archive, Archive badArchive)
|
||||
{
|
||||
@ -198,7 +198,7 @@ namespace Wabbajack.Downloaders.Dispatcher.Test
|
||||
Assert.Equal(archive.Hash, hash);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[Theory, Trait("Category", "FlakeyNetwork")]
|
||||
[MemberData(nameof(TestStates))]
|
||||
public async Task TestFileVerification(Archive goodArchive, Archive badArchive)
|
||||
{
|
||||
@ -207,7 +207,7 @@ namespace Wabbajack.Downloaders.Dispatcher.Test
|
||||
Assert.False(await _dispatcher.Verify(badArchive, CancellationToken.None));
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[Theory, Trait("Category", "FlakeyNetwork")]
|
||||
[MemberData(nameof(TestStates))]
|
||||
public async Task CanParseAndUnParseUrls(Archive goodArchive, Archive badArchive)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user