Wait for all search indexes in API user journey
release / android (APK в релиз) (push) Successful in 4m55s
ci / api / api (push) Successful in 31s
ci / db / db (push) Successful in 53s
release / release (версия и заметки) (push) Successful in 6s
release / desktop (Linux и Windows в релиз) (push) Successful in 19m16s
release / prune (старые файлы и прогоны) (push) Successful in 10s
release / android (APK в релиз) (push) Successful in 4m55s
ci / api / api (push) Successful in 31s
ci / db / db (push) Successful in 53s
release / release (версия и заметки) (push) Successful in 6s
release / desktop (Linux и Windows в релиз) (push) Successful in 19m16s
release / prune (старые файлы и прогоны) (push) Successful in 10s
This commit is contained in:
1 parent
bbd629dcf8
commit
3309a79a98
1 file changed
+4
-1
@@ -219,7 +219,10 @@ func TestUserJourney(t *testing.T) {
|
||||
}
|
||||
eventually(t, "search index", func() bool {
|
||||
time.Sleep(time.Second)
|
||||
return c.call("GET", "/api/v1/search?q="+url.QueryEscape("кино"), nil, &found) == 200 && len(found.Albums) == 1
|
||||
// Artists, albums and tracks are swapped separately. Seeing the album
|
||||
// does not mean the track index is ready for personalized suggestions.
|
||||
return c.call("GET", "/api/v1/search?q="+url.QueryEscape("кино"), nil, &found) == 200 &&
|
||||
len(found.Artists) == 1 && len(found.Albums) == 1 && len(found.Tracks) == 3
|
||||
})
|
||||
|
||||
// 4. Альбом, исполнитель, популярные треки.
|
||||
|
||||
Reference in new issue
Block a user