Skip to content

Commit

Permalink
test: skip RRSIG on Circle CI
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Aug 28, 2018
1 parent 16978ae commit 05ca6f6
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions test/DnsClientTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,17 @@ public async Task SecureQuery_HasRRs()

var opt = response.AdditionalRecords.OfType<OPTRecord>().Single();
Assert.AreEqual(true, opt.DO);

var rrsig = response.Answers.OfType<RRSIGRecord>().Single();
Assert.AreEqual(DnsType.A, rrsig.TypeCovered);

// See https://discuss.circleci.com/t/dns-response-missing-rrsig/24719
if (Environment.GetEnvironmentVariable("CIRCLECI") == "true")
{
Assert.Inconclusive("Not testable on Circle CI");
}
else
{
var rrsig = response.Answers.OfType<RRSIGRecord>().Single();
Assert.AreEqual(DnsType.A, rrsig.TypeCovered);
}
}


Expand Down

0 comments on commit 05ca6f6

Please sign in to comment.