Change DefaultHttpDataSourceTest to an instrumentation test
The Robolectric implementation of HttpURLConnection forwards to the JRE implementation [1], which behaves differently to the Android one available on devices and emulators. For these tests to be a realistic test of the HTTP stack used in real playbacks we can't use Robolectric. Similar to https://github.com/androidx/media/commit/d1e12dcddf0ea6d00a8b0d2df6786e7f06ad7e2f [1] https://github.com/robolectric/robolectric/issues/6769#issuecomment-943556156 PiperOrigin-RevId: 416013662
Showing
with
1 additions
and
0 deletions
Please
register
or
sign in
to comment