Skip to content

Commit

Permalink
Use dynamic port range in testLoadsProxySettings (#96378) (#96380)
Browse files Browse the repository at this point in the history
Closes #95821
  • Loading branch information
pxsalehi committed May 26, 2023
1 parent 9a888d4 commit 2490de7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void testProjectIdDefaultsToCredentials() throws Exception {
public void testLoadsProxySettings() throws Exception {
final String clientName = randomAlphaOfLength(5);
final ServiceAccountCredentials credential = randomCredential(clientName).v1();
var proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(InetAddress.getLoopbackAddress(), randomIntBetween(1024, 65536)));
var proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(InetAddress.getLoopbackAddress(), randomIntBetween(49152, 65535)));
final GoogleCloudStorageClientSettings googleCloudStorageClientSettings = new GoogleCloudStorageClientSettings(
credential,
ENDPOINT_SETTING.getDefault(Settings.EMPTY),
Expand Down

0 comments on commit 2490de7

Please sign in to comment.