Skip to content

Commit

Permalink
Skip TestClient_RetrieveRemoteDoc conditionally (vmware#687)
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Maxia <giuseppe.maxia@broadcom.com>
  • Loading branch information
dataclouder committed Jun 17, 2024
1 parent af1e038 commit e556501
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions govcd/org_saml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ func (vcd *TestVCD) TestClient_RetrieveRemoteDoc(check *C) {
// samltest.id is a well known test site for SAML services
metadataUrl := "https://samltest.id/saml/idp"
metadata, err := vcd.client.Client.RetrieveRemoteDocument(metadataUrl)
if err != nil {
check.Skip("samltest.id is not responding")
}
check.Assert(err, IsNil)
check.Assert(metadata, NotNil)
errors := ValidateSamlServiceProviderMetadata(string(metadata))
Expand Down

0 comments on commit e556501

Please sign in to comment.