summaryrefslogtreecommitdiffhomepage
path: root/server/fsm_test.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-12-28 21:02:03 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-12-28 21:02:03 +0900
commit58946b7924840f1effc993e95440266479c668d5 (patch)
treeac6fe1387af028f49a93f9f74f5bcf6ae694a376 /server/fsm_test.go
parent7a2b3951160804c6895714621099168e8e56aa74 (diff)
config: make config/state variable name simple
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/fsm_test.go')
-rw-r--r--server/fsm_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/fsm_test.go b/server/fsm_test.go
index 3b1bedd2..b5618edd 100644
--- a/server/fsm_test.go
+++ b/server/fsm_test.go
@@ -190,7 +190,7 @@ func TestFSMHandlerOpenconfirm_HoldTimerExpired(t *testing.T) {
p.fsm.conn = m
// set up keepalive ticker
- p.fsm.pConf.Timers.TimersConfig.KeepaliveInterval = 1
+ p.fsm.pConf.Timers.Config.KeepaliveInterval = 1
// set holdtime
p.fsm.negotiatedHoldTime = 2
@@ -227,7 +227,7 @@ func TestFSMHandlerEstablish_HoldTimerExpired(t *testing.T) {
}
// set holdtime
- p.fsm.pConf.Timers.TimersConfig.HoldTime = 2
+ p.fsm.pConf.Timers.Config.HoldTime = 2
p.fsm.negotiatedHoldTime = 2
go pushPackets()
@@ -251,7 +251,7 @@ func TestFSMHandlerOpenconfirm_HoldtimeZero(t *testing.T) {
p.fsm.conn = m
// set up keepalive ticker
- p.fsm.pConf.Timers.TimersConfig.KeepaliveInterval = 1
+ p.fsm.pConf.Timers.Config.KeepaliveInterval = 1
// set holdtime
p.fsm.negotiatedHoldTime = 0
go h.openconfirm()