Skip to content

Commit

Permalink
chore(plc4go): Disable golang opcua test.
Browse files Browse the repository at this point in the history
Signed-off-by: Łukasz Dywicki <[email protected]>
  • Loading branch information
splatch committed Oct 29, 2024
1 parent d4f3521 commit dd07df6
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions plc4go/tests/drivers/tests/opcua_driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,9 @@
package tests

import (
"context"
"testing"

"github.com/apache/plc4x/plc4go/internal/opcua"
opcuaIO "github.com/apache/plc4x/plc4go/protocols/opcua/readwrite"
readWriteModel "github.com/apache/plc4x/plc4go/protocols/opcua/readwrite/model"
"github.com/apache/plc4x/plc4go/spi/testutils"
"github.com/apache/plc4x/plc4go/spi/utils"
)

func TestOPCUADriver(t *testing.T) {
//t.Skip("Not yet finished")
parser := func(readBufferByteBased utils.ReadBufferByteBased) (any, error) {
return readWriteModel.MessagePDUParseWithBuffer[readWriteModel.MessagePDU](context.Background(), readBufferByteBased, false)
}
optionsForTesting := testutils.EnrichOptionsWithOptionsForTesting(t)
testutils.RunDriverTestsuite(
t,
opcua.NewDriver(optionsForTesting...),
"assets/testing/protocols/opcua/DriverTestsuite.xml",
opcuaIO.OpcuaXmlParserHelper{},
append(optionsForTesting,
testutils.WithRootTypeParser(parser),
)...,
)
t.Skip("Not yet finished")
}

0 comments on commit dd07df6

Please sign in to comment.