由于mockwebserver版本的问题导致的
提高mockwebserver的版本到4.8.0即可
testImplementation "com.squareup.okhttp3:mockwebserver:4.8.0"