Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-08-01 12:51:38 +03:00
parent 03fe6da356
commit 9496807a27
7 changed files with 93 additions and 44 deletions

View File

@@ -118,14 +118,21 @@ func TestFlow(t *testing.T) {
}
id, err := w.Execute(ctx, &flow.Message{Body: req}, flow.ExecuteTimeout(2*time.Second))
keys, err := s.List(ctx)
if err != nil {
t.Fatal(err)
}
var keys []string
keys, err = s.List(ctx)
if err != nil {
t.Fatal(err)
}
_ = keys
keys, err = store.NewNamespaceStore(s, filepath.Join("workflows", id)).List(ctx)
if err != nil {
t.Fatal(err)
}
_ = keys
keys, err = store.NewNamespaceStore(s, filepath.Join("steps", id)).List(ctx)
if err != nil {
t.Fatal(err)