Skip to content

Commit 3299c6d

Browse files
author
Phil Varner
authored
replace localhost with 127.0.0.1 to get system tests to run on macos correctly (#613)
1 parent 4e18c49 commit 3299c6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/aws-clients.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const useLocalStack = () => {
77
return process.env['NODE_ENV'] === 'test'
88
}
99

10-
const localStackEndpoint = () => process.env[localStackEndpointEnvVar] || 'http://localhost:4566'
10+
const localStackEndpoint = () => process.env[localStackEndpointEnvVar] || 'http://127.0.0.1:4566'
1111

1212
const localStackParams = () => ({
1313
credentials: {

src/lib/databaseClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export async function connect() {
2727
if (!hostConfig) {
2828
// use local client
2929
const config = {
30-
node: 'http://localhost:9200'
30+
node: 'http://127.0.0.1:9200'
3131
}
3232
client = new Client(config)
3333
} else {

0 commit comments

Comments
 (0)