Documentation ¶
Index ¶
- Constants
- func CommonResultFunc(result []any) [][]map[string]any
- func CompareMetrics(tp *topo.Topo, m map[string]interface{}) (err error)
- func DoCheckpointRuleTest(t *testing.T, tests []RuleCheckpointTest, opt *def.RuleOption, w int)
- func DoRuleTest(t *testing.T, tests []RuleTest, opt *def.RuleOption, w int)
- func DoRuleTestWithResultFunc(t *testing.T, tests []RuleTest, opt *def.RuleOption, w int, ...)
- func HandleStream(createOrDrop bool, names []string, t *testing.T)
- type RuleCheckpointTest
- type RuleTest
Constants ¶
View Source
const POSTLEAP = 1000 // Time change after all data sends out
Variables ¶
This section is empty.
Functions ¶
func CommonResultFunc ¶
CommonResultFunc A function to convert memory sink result to map slice
func DoCheckpointRuleTest ¶
func DoCheckpointRuleTest(t *testing.T, tests []RuleCheckpointTest, opt *def.RuleOption, w int)
func DoRuleTest ¶
Types ¶
type RuleCheckpointTest ¶
Click to show internal directories.
Click to hide internal directories.