barrier grpc used

This commit is contained in:
yedf2 2021-08-12 18:20:54 +08:00
parent d3eb568929
commit cd411c6cba

12
dtmgrpc/type_test.go Normal file
View File

@ -0,0 +1,12 @@
package dtmgrpc
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestType(t *testing.T) {
_, err := BarrierFromGrpc(&BusiRequest{Info: &BranchInfo{}})
assert.Error(t, err)
}