Merge branch 'master' into feature/pubsub_20221214
This commit is contained in:
commit
bb42483ff0
|
|
@ -143,6 +143,7 @@ func ConformanceTests(t *testing.T, props map[string]string, inputBinding bindin
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("ping", func(t *testing.T) {
|
t.Run("ping", func(t *testing.T) {
|
||||||
|
if config.HasOperation("read") {
|
||||||
errInp := bindings.PingInpBinding(inputBinding)
|
errInp := bindings.PingInpBinding(inputBinding)
|
||||||
// TODO: Ideally, all stable components should implenment ping function,
|
// TODO: Ideally, all stable components should implenment ping function,
|
||||||
// so will only assert assert.Nil(t, err) finally, i.e. when current implementation
|
// so will only assert assert.Nil(t, err) finally, i.e. when current implementation
|
||||||
|
|
@ -152,6 +153,8 @@ func ConformanceTests(t *testing.T, props map[string]string, inputBinding bindin
|
||||||
} else {
|
} else {
|
||||||
assert.Nil(t, errInp)
|
assert.Nil(t, errInp)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
if config.HasOperation("operations") {
|
||||||
errOut := bindings.PingOutBinding(outputBinding)
|
errOut := bindings.PingOutBinding(outputBinding)
|
||||||
// TODO: Ideally, all stable components should implenment ping function,
|
// TODO: Ideally, all stable components should implenment ping function,
|
||||||
// so will only assert assert.Nil(t, err) finally, i.e. when current implementation
|
// so will only assert assert.Nil(t, err) finally, i.e. when current implementation
|
||||||
|
|
@ -161,6 +164,7 @@ func ConformanceTests(t *testing.T, props map[string]string, inputBinding bindin
|
||||||
} else {
|
} else {
|
||||||
assert.Nil(t, errOut)
|
assert.Nil(t, errOut)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// Operations
|
// Operations
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue