Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha committed Nov 15, 2024
1 parent 69655b5 commit 5e76738
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions test/v2_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,8 @@ def test_http_multiva_threshold_pass():

# Configure a guestlist that will pass the multiVA threshold test by
# allowing the primary VA at some, but not all, remotes.
guestlist = {"boulder": 1, "boulder-remoteva-a": 1, "boulder-remoteva-b": 1, "remoteva-c": 1, "remoteva-a": 1}
# In particular, remoteva-c is missing.
guestlist = {"boulder": 1, "remoteva-a": 1, "remoteva-b": 1}

hostname, cleanup = multiva_setup(client, guestlist)

Expand All @@ -1021,7 +1022,7 @@ def test_http_multiva_primary_fail_remote_pass():

# Configure a guestlist that will fail the primary VA check but allow all of
# the remote VAs.
guestlist = {"boulder": 0, "boulder-remoteva-a": 1, "boulder-remoteva-b": 1, "remoteva-a": 1, "remoteva-b": 1}
guestlist = {"boulder": 0, "remoteva-a": 1, "remoteva-b": 1}

hostname, cleanup = multiva_setup(client, guestlist)

Expand Down
4 changes: 3 additions & 1 deletion va/va_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ func setup(srv *httptest.Server, userAgent string, remoteVAs []RemoteVA, mockDNS

perspective := PrimaryPerspective
if len(remoteVAs) == 0 {
perspective = "example perspective"
// We're being set up as a remote. Use a distinct perspective from other remotes
// to better simulate what prod will be like.
perspective = "example perspective " + core.RandomString(4)
}

va, err := NewValidationAuthorityImpl(
Expand Down

0 comments on commit 5e76738

Please sign in to comment.