Skip to content

Commit

Permalink
revert enquire_link timeouts, this should resolve race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
laduchesneau committed Mar 2, 2024
1 parent 1217bb3 commit 4fb5738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transceivable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func TestTRXSubmitSM_with_WindowConfig_and_AutoRespond(t *testing.T) {

WriteTimeout: 3 * time.Second,

EnquireLink: 1 * time.Second,
EnquireLink: 200 * time.Millisecond,

OnSubmitError: func(_ pdu.PDU, err error) {
t.Fatal(err)
Expand Down Expand Up @@ -335,7 +335,7 @@ func TestTRXSubmitSM_with_WindowConfig_and_AutoRespond(t *testing.T) {
for i := 0; i < 20; i++ {
err = trans.Transceiver().Submit(newSubmitSM(auth.SystemID))
require.Nil(t, err)
time.Sleep(55 * time.Millisecond)
time.Sleep(50 * time.Millisecond)
}

time.Sleep(5 * time.Second)
Expand Down

0 comments on commit 4fb5738

Please sign in to comment.