Add some logging to diagnose this flaky test on travis.