Admin UI NG tests fail in +5:30 timezone

Steps to reproduce

Steps to reproduce:
1. Build the Admin UI in India (or likely any timezone of X:Y, where Y != 0)
2. Get something along the lines of https://groups.google.com/a/opencast.org/forum/#%21topic/matterhorn-users/ZPamYunm1ao

Quoting:

[INFO] [1A[2KPhantomJS 1.9.8 (Linux 0.0.0) Conflict check API Resource when schedule multiple is active transformRequest works as expected FAILED
[INFO] Expected { start : '2014-07-08T11:30:00Z', device : '•mock• agent4', duration : '3600000', end : '2014-07-23T12:30:00Z', rrule : 'FREQ=WEEKLY;BYDAY=MO,WE,TH;BYHOUR=11;BYMINUTE=30' } to equal { start : '2014-07-08T11:30:00Z', end : '2014-07-23T12:30:00Z', duration : '3600000', rrule : 'FREQ=WEEKLY;BYDAY=MO,WE,TH;BYHOUR=11;BYMINUTE=0', device : '•mock• agent4' }.
[INFO] Error: Expected { start : '2014-07-08T11:30:00Z', device : '•mock• agent4', duration : '3600000', end : '2014-07-23T12:30:00Z', rrule : 'FREQ=WEEKLY;BYDAY=MO,WE,TH;BYHOUR=11;BYMINUTE=30' } to equal { start : '2014-07-08T11:30:00Z', end : '2014-07-23T12:30:00Z', duration : '3600000', rrule : 'FREQ=WEEKLY;BYDAY=MO,WE,TH;BYHOUR=11;BYMINUTE=0', device : '•mock• agent4' }.
[INFO] at /opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/test/resources/test/unit/shared/resources/conflictCheckResourceSpec.js:73
[INFO] at /opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/main/webapp/lib/angular/angular-mocks.js:1644
[INFO] at $httpBackend (/opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/main/webapp/lib/angular/angular-mocks.js:1194)
[INFO] at sendReq (/opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/main/webapp/lib/angular/angular.js:9584)
[INFO] at /opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/main/webapp/lib/angular/angular.js:9301
[INFO] at processQueue (/opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/main/webapp/lib/angular/angular.js:13137)
[INFO] at /opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/main/webapp/lib/angular/angular.js:13153
[INFO] at /opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/main/webapp/lib/angular/angular.js:14353
[INFO] at /opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/main/webapp/lib/angular/angular.js:14169
[INFO] at /opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/main/webapp/lib/angular/angular-mocks.js:1525
[INFO] at /opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/test/resources/test/unit/shared/resources/conflictCheckResourceSpec.js:77
[INFO] PhantomJS 1.9.8 (Linux 0.0.0): Executed 367 of 816 (1 FAILED) (skipped 1) (0 secs / 8.311 secs)

[INFO] Expected { type : 'SCHEDULE_MULTIPLE', metadata : { start : '2014-07-17T04:30:00Z', device : '•mock• agent3', inputs : 'TRANSLATION.PATH.VIDEO', end : '2014-07-24T06:15:00Z', duration : '6300000', rrule : 'FREQ=WEEKLY;BYDAY=MO,TU,WE;BYHOUR=4;BYMINUTE=30' } } to equal { type : 'SCHEDULE_MULTIPLE', metadata : { start : '2014-07-17T04:30:00Z', end : '2014-07-24T06:15:00Z', duration : '6300000', rrule : 'FREQ=WEEKLY;BYDAY=MO,TU,WE;BYHOUR=4;BYMINUTE=0', device : '•mock• agent3', inputs : 'TRANSLATION.PATH.VIDEO' } }.
[INFO] Error: Expected { type : 'SCHEDULE_MULTIPLE', metadata : { start : '2014-07-17T04:30:00Z', device : '•mock• agent3', inputs : 'TRANSLATION.PATH.VIDEO', end : '2014-07-24T06:15:00Z', duration : '6300000', rrule : 'FREQ=WEEKLY;BYDAY=MO,TU,WE;BYHOUR=4;BYMINUTE=30' } } to equal { type : 'SCHEDULE_MULTIPLE', metadata : { start : '2014-07-17T04:30:00Z', end : '2014-07-24T06:15:00Z', duration : '6300000', rrule : 'FREQ=WEEKLY;BYDAY=MO,TU,WE;BYHOUR=4;BYMINUTE=0', device : '•mock• agent3', inputs : 'TRANSLATION.PATH.VIDEO' } }.
[INFO] at /opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/test/resources/test/unit/shared/resources/newEventResourceSpec.js:174
[INFO] PhantomJS 1.9.8 (Linux 0.0.0): Executed 436 of 816 (2 FAILED) (skipped 1) (0 secs / 8.791 secs)

[INFO] [1A[2KPhantomJS 1.9.8 (Linux 0.0.0) JsHelper service #assembleRrule functions as expected FAILED
[INFO] Expected 'FREQ=WEEKLY;BYDAY=MO,TU,WE;BYHOUR=4;BYMINUTE=30' to equal 'FREQ=WEEKLY;BYDAY=MO,TU,WE;BYHOUR=4;BYMINUTE=0'.
[INFO] Error: Expected 'FREQ=WEEKLY;BYDAY=MO,TU,WE;BYHOUR=4;BYMINUTE=30' to equal 'FREQ=WEEKLY;BYDAY=MO,TU,WE;BYHOUR=4;BYMINUTE=0'.
[INFO] at /opt/matterhorn/matterhorn/modules/matterhorn-admin-ui-ng/src/test/resources/test/unit/shared/services/jsHelperServiceSpec.js:141
[INFO] PhantomJS 1.9.8 (Linux 0.0.0): Executed 574 of 816 (3 FAILED) (skipped 2) (0 secs / 9.526 secs)

Assignee

Lars Kiesow

Reporter

Greg Logan

Severity

Build Error

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major
Configure