Skip to content

Single Cesium Map unit test fails on Jenkins build server #11364

@rowheat02

Description

@rowheat02

After this fix: #11363, the issue was introduced.

Other information:

Failed log on server

[4m�[1mSUMMARY:�[22m�[24m
�[32m�[32m✔�[32m 8387 tests completed�[39m
�[90m�[90mℹ�[90m 5 tests skipped�[39m
�[33m�[33m⚠�[33m 169 tests slow�[39m
�[31m�[31m✖�[31m 1 test failed�[39m

�[4m�[1mFAILED TESTS:�[22m�[24m
  CesiumMap
�[31m    �[31m✖�[31m click on layer should return intersected features�[33m (slow: 3.036 secs)�[31m�[39m
      �[3m�[33mChrome Headless 138.0.0.0 (Linux x86_64)�[39m�[23m
�[31m    Error: Expected [] to equal [ { id: 'vector', features: [ { type: 'Feature', properties: { category: 'area' }, geometry: { coordinates: [Array], type: 'Polygon' } }, { type: 'Feature', properties: { category: 'boundary' }, geometry: { coordinates: [Array], type: 'Polygon' } } ] } ]�[39m
�[31m�[39m�[31m        at assert (webpack://mapstore2/./node_modules/expect/lib/assert.js?:29:9)�[39m
�[31m�[39m�[31m        at Expectation.toEqual (webpack://mapstore2/./node_modules/expect/lib/Expectation.js?:85:30)�[39m
�[31m�[39m�[31m        at Object.onClick (webpack://mapstore2/./web/client/components/map/cesium/__tests__/Map-test.jsx?:370:80)�[39m
�[31m�[39m�[31m        at CesiumMap.eval [as onClick] (webpack://mapstore2/./web/client/components/map/cesium/Map.jsx?:7471:22)�[39m
�[31m�[39m�[31m        at SafeSubscriber.eval [as _next] (webpack://mapstore2/./web/client/components/map/cesium/Map.jsx?:7864:21)�[39m
�[31m�[39m�[31m        at SafeSubscriber.__tryOrUnsub (webpack://mapstore2/./node_modules/rxjs/Subscriber.js?:234:16)�[39m
�[31m�[39m�[31m        at SafeSubscriber.next (webpack://mapstore2/./node_modules/rxjs/Subscriber.js?:183:22)�[39m
�[31m�[39m�[31m        at Subscriber._next (webpack://mapstore2/./node_modules/rxjs/Subscriber.js?:125:26)�[39m
�[31m�[39m�[31m        at Subscriber.next (webpack://mapstore2/./node_modules/rxjs/Subscriber.js?:89:18)�[39m
�[31m�[39m�[31m        at SwitchMapSubscriber.notifyNext (webpack://mapstore2/./node_modules/rxjs/operator/switchMap.js?:124:30)�[39m
�[31m�[39m
Build step 'Execute shell' marked build as failure
Archiving artifacts

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions