Skip to content

Commit

Permalink
chore(logs): update FSM logs
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
  • Loading branch information
rustatian committed Jun 27, 2024
1 parent b92b58a commit 0e98f52
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion fsm/fsm.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Transition moves worker from one state to another
func (s *Fsm) Transition(to int64) {
err := s.recognizer(to)
if err != nil {
s.log.Debug("fsm transition error", zap.Error(err))
s.log.Debug("transition info, this is not an error", zap.String("debug", err.Error()))
return
}

Expand Down
1 change: 0 additions & 1 deletion pool/static_pool/supervisor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,6 @@ func TestSupervisedPool_Idle(t *testing.T) {
}, make(chan struct{}))

assert.NoError(t, err)
time.Sleep(time.Second * 2)
require.Len(t, p.Workers(), 1)
// should be new worker with new pid
assert.NotEqual(t, pid, p.Workers()[0].Pid())
Expand Down

0 comments on commit 0e98f52

Please sign in to comment.