MM-15292: migrate commandstore.PermanentDeleteByTeam to sync by default (#10743)

Этот коммит содержится в:
Puneeth Reddy
2019-04-30 02:10:08 -07:00
коммит произвёл Hanzei
родитель 503b26a904
Коммит d59843725f
5 изменённых файлов: 15 добавлений и 16 удалений

Просмотреть файл

@@ -186,8 +186,8 @@ func testCommandStoreDeleteByTeam(t *testing.T, ss store.Store) {
}
}
if r2 := <-ss.Command().PermanentDeleteByTeam(o1.TeamId); r2.Err != nil {
t.Fatal(r2.Err)
if err := ss.Command().PermanentDeleteByTeam(o1.TeamId); err != nil {
t.Fatal(err)
}
if r3 := (<-ss.Command().Get(o1.Id)); r3.Err == nil {