Testing Users Chapter 11 never ending


Following the books I got to p.164 and ran the code for testUsersCanBeRetrievedFromAPI()

I get this in the console:

Test Suite ‘UserTests’ started at 2018-07-05 14:32:06.263
Test Case ‘-[AppTests.UserTests testUsersCanBeRetrievedFromAPI]’ started.

Is it normal that it never ends? This is also the case when i run all the tests at the end of the chapter. It gets stuck on the first test and never ends.

@0xtim Can you please help with this when you get a chance? Thank you - much appreciated! :]

@jjjeeerrr111 nope definitely not normal! Can you try running swift package update && vapor xcode -y and running the tests again?

(This may produce some warnings which will be fixed in the next release and there appears to be a bug in which random tests fail which I’m currently hunting down)