The test looks for IllegalOperation, but receives IncompatibleServerVersion:
[js_test:long_collection_names] 2020-04-10T22:20:49.579-0400 "code" : 188, [js_test:long_collection_names] 2020-04-10T22:20:49.579-0400 "codeName" : "IncompatibleServerVersion"