89
90
// Verify expected rows are set after all mutations are applied.
92
>
s.NoError(err)
93
>
s.ElementsMatch(tc.ExpectedRows, actualRows)
94
}
95
97
>
return sqlplugin.ChasmNodeMapsAllFilter{
98
>
ShardID: rand.Int32(),
99
>
NamespaceID: primitives.NewUUID(),
100
>
WorkflowID: primitives.NewUUID().String(),
101
>
RunID: primitives.NewUUID(),
102
>
}
103
>
}
104
106
>
return sqlplugin.ChasmNodeMapsRow{
107
>
ShardID: filter.ShardID,
108
>
NamespaceID: filter.NamespaceID,
109
>
WorkflowID: filter.WorkflowID,
110
>
RunID: filter.RunID,
111
>
ChasmPath: primitives.NewUUID().String(),
112
>
Metadata: []byte(primitives.NewUUID().String()),
113
>
MetadataEncoding: "utf8",
114
>
Data: []byte(primitives.NewUUID().String()),
115
>
DataEncoding: "utf8",
116
>
}
117
>
}
118
119
func (s *historyExecutionChasmSuite) TestInsert() {