You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/05/10 12:28:25 UTC
[plc4x] branch develop updated: test(plc4go/spi): fix randomly failing test
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 102d8a98e6 test(plc4go/spi): fix randomly failing test
102d8a98e6 is described below
commit 102d8a98e659d5b15b17be136e957f1a1025a92b
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Wed May 10 14:28:11 2023 +0200
test(plc4go/spi): fix randomly failing test
---
plc4go/spi/transports/TransportInstance_test.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/plc4go/spi/transports/TransportInstance_test.go b/plc4go/spi/transports/TransportInstance_test.go
index 1a9a7cbfd1..e237fd481c 100644
--- a/plc4go/spi/transports/TransportInstance_test.go
+++ b/plc4go/spi/transports/TransportInstance_test.go
@@ -91,6 +91,7 @@ func Test_defaultBufferedTransportInstance_ConnectWithContext(t *testing.T) {
},
mockSetup: func(t *testing.T, fields *fields, args *args) {
requirements := NewMockDefaultBufferedTransportInstanceRequirements(t)
+ requirements.EXPECT().Connect().Return(nil).Maybe()
fields.DefaultBufferedTransportInstanceRequirements = requirements
},
wantErr: true,