Bug 36214 - Test exam mode
Test exam mode
Status: RESOLVED FIXED
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Ammar Najjar
:
Depends on: 36251
Blocks: 36913
  Show dependency treegraph
 
Reported: 2014-10-16 15:05 CEST by Sönke Schwardt-Krummrich
Modified: 2015-11-02 12:22 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2014-10-16 15:05:29 CEST
Please create a test script that
- creates a new school with classes, teachers and students
- starts a new exam with one class
- waits some time after replication has finished
- stops the exam

Before and after each step, the script should wait for LDAP replication and also for S4 connector replication. It should also check for the S4 connector status and the list of rejected S4 objects. There should be no rejects after replication has finished. Please also call the test script proof_uniquemember from package univention-directory-manager-modules.
Comment 1 Ammar Najjar univentionstaff 2014-10-22 10:50:39 CEST
A new test script is created with the name ""101_exam_mode" which contains the steps mentioned in the description.

This script triggers Bug #36251 and fails because of it, and the untested hotfix mentioned there in comment 1 makes the script pass.

Function wait_for_s4connector() in "tests/02_import-performance/performanceutils.py" is copied to "univention/testing/ucs_samba.py" and used.

Change log entry added and package rebuilt.
Comment 2 Ammar Najjar univentionstaff 2014-12-15 12:23:00 CET
proof_uniquemember  is skipped for now until bug #36251 is fixed.