Test against the error code returned by the error instead

- 1406: data too long
4 jobs for 43-unittests in 1 minute and 3 seconds (queued for 2 seconds)
Name Stage Failure
failed
Go-py3.6 Test There is an unknown failure, please try again
FAILED (errors=2)
Creating test database for alias 'default'...
Retrieving information from the peoplefinder api.
Retrieving information from the peoplefinder api.
Name not found in peoplefinder.
Retrieving information from the peoplefinder api.
Retrieving information from the peoplefinder api.
Destroying test database for alias 'default'...
ERROR: Build failed: exit code 1
failed
Go-py3.5 Test There is an unknown failure, please try again
FAILED (errors=2)
Creating test database for alias 'default'...
Retrieving information from the peoplefinder api.
Retrieving information from the peoplefinder api.
Name not found in peoplefinder.
Retrieving information from the peoplefinder api.
Retrieving information from the peoplefinder api.
Destroying test database for alias 'default'...
ERROR: Build failed: exit code 1
failed
Go-py3.4 Test There is an unknown failure, please try again
Retrieving information from the peoplefinder api.
Retrieving information from the peoplefinder api.
Destroying test database for alias 'default'...

----------------------------------------------------------------------
Ran 45 tests in 1.083s

FAILED (errors=2)
ERROR: Build failed: exit code 1