Skip to content

Commit

Permalink
remove http/3 test (can't repo on ci)
Browse files Browse the repository at this point in the history
  • Loading branch information
aspriddell committed Dec 16, 2023
1 parent 637b59f commit 4ed82c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,13 @@ env:

jobs:
test:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Install libmsquic
run: |
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install libmsquic

- name: Build
run: dotnet build -c Release
Expand Down
8 changes: 0 additions & 8 deletions DragonFruit.Data.Tests/ClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System;
using System.IO;
using System.Net;
using System.Runtime.InteropServices;
using System.Text.Json.Nodes;
using System.Threading.Tasks;
using DragonFruit.Data.Serializers;
Expand All @@ -22,13 +21,6 @@ public class ClientTests : IDisposable
UserAgent = "DragonFruit.Data.Tests"
};

[Fact]
public async Task TestClientVersionDefaults()
{
using var response = await _client.PerformAsync("https://cloudflare-quic.com");
Assert.Equal(RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? HttpVersion.Version11 : HttpVersion.Version30, response.Version);
}

[Fact]
public async Task TestUserAgentHeader()
{
Expand Down

0 comments on commit 4ed82c6

Please sign in to comment.