summaryrefslogtreecommitdiff
path: root/internal/log/syslog_test.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2022-05-13 12:35:41 +0100
committerLibravatar GitHub <noreply@github.com>2022-05-13 13:35:41 +0200
commit9f2a2abe42a6211df6970ba7625d245298778a38 (patch)
tree3de46925384ecc3ff5a1cf50ab25654b50d6fd20 /internal/log/syslog_test.go
parent[bugfix] Fix server trying to listen twice on same address when l.e. enabled ... (diff)
downloadgotosocial-9f2a2abe42a6211df6970ba7625d245298778a38.tar.xz
[bugfix] update syslog tests to listen/connect specifically to ipv4 loopback (#561)
Signed-off-by: kim <grufwub@gmail.com>
Diffstat (limited to 'internal/log/syslog_test.go')
-rw-r--r--internal/log/syslog_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/log/syslog_test.go b/internal/log/syslog_test.go
index 2b0d33667..6507afa52 100644
--- a/internal/log/syslog_test.go
+++ b/internal/log/syslog_test.go
@@ -47,7 +47,7 @@ func (suite *SyslogTestSuite) SetupTest() {
viper.Set(config.Keys.SyslogEnabled, true)
viper.Set(config.Keys.SyslogProtocol, "udp")
- viper.Set(config.Keys.SyslogAddress, "localhost:42069")
+ viper.Set(config.Keys.SyslogAddress, "127.0.0.1:42069")
server, channel, err := testrig.InitTestSyslog()
if err != nil {
panic(err)