-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tz: time zone support test #2931
Comments
Synchronization is fine, also checked director's view and q&v. |
@arch-kiosk/test To support the time zone zone test there are now four queries in Q&V that allow you to see the actual database values of "modified" (the utc or legacy modified time stamp), "modified_ww" (wristwatch time, the one you usually see on the UI) and the time zone "modified_tz" plus a translation into the long time zone name. That should help with testing. All queries are sorted by "modified" in descending order. |
not as useful but there now: Time Zone Test: Images which lists ALL images by descending modified value. The only ways to identify an image is by its UID or by its context independent description PS: Don't trip over the query "Time Zone Test: Image records". That was a mistake that I can't get rid of until 1.6.6.2. The right query is "Time Zone Test: Images" |
Tests in two different time zones, one later and one earlier than UTCI suggest Europe/Amsterdam (currently on daylight savings time UTC+1) and Mountain Time (US/Arizona) (which does not have DST and is on UST-7). And then we look at the results in Kiosk (Q&V or File Repository) in a time zone that is neither the one nor the other So UTC-7 and UTC-7 adds locus A in unit 1, UTC+1 adds locus B in unit 2 at more or less the same moment
UTC-7 modifies the description of unit 2/locus B, UTC+1 modifies the description of unit1/locus A at more or less the same moment
Now let's work in the same unit and locus on different continents:UTC-7 changes the description of locus B AGAIN, UTC+1 changes the record type of the same locus B to "architecture" (or whatever) at more or less the same moment
UTC-7 changes the description of locus B AGAIN a minute before UTC+1 as well changes the description of the same locus B
Now the other way around: UTC+1 changes the description of locus B AGAIN a minute before UTC-7 as well changes the description of the same locus B
|
Are you two doing this? Do you want me to help? It will clearly require coordination, which is why I ask. |
I'll put my testing hat on and do it myself with two iPads. That's easiest. |
a snap shot of one of the rare collisions that one never sees in praxis (or at least I have never heard of anybody noticing it): WARNING: !Synchronization collision in table "locus", field "description", record "987a0e42-329b-45ef-8907-29fc448304f1": Yes, they are hard to read. But with some formatting it gets a bit easier: This tells you what column to look at: WARNING: !Synchronization collision in table "locus", field "description", record "987a0e42-329b-45ef-8907-29fc448304f1":
So, this tells us that the first record won in the synchronization collision and so the description of that record is synchronized in |
is that kind of collision mentioned in the admin's manual? I think it should as it is more or less here that synchronization culminates. |
more tests in two different time zonesAgain: UTC-7 delete locus A in unit 1 BEFORE UTC+1 changes locus A a minute later
UTC-7 changes locus A in unit 1 a minute AFTER UTC+1 deletes locus A in unit 1
UTC-7 changes locus A in unit 1 a minute BEFORE UTC+1 deletes locus A in unit 1
|
image testsMountain Time UTC-7 and UTC-7 adds image to locus A, UTC+1 adds image to locus B
UTC-7 modifies (replaces) image in locus B, UTC+1 modifies image in locus A
UTC-7 modifies (replaces) image in locus A one minute AFTER UTC+1 also modifies image in locus A
UTC-7 deletes image in locus A UTC+1 deletes image in locus B
|
buap test (when rolled out)
|
@arch-kiosk/test
This is about the test of time zone support in Kiosk 1.6.6 and up.
📖 First of all, here is the latest documentation on time zone support in Kiosk: [[https://wiki.arch-kiosk.brown.edu/urapdev/doku.php?id=development:kiosk_and_time]]. I suppose it makes some sense to read it now even though it is not a page turner.
🗒 And then we add testing tasks here and if something goes wrong, turn them into an individual tickets (so that this ticket here does not become a monster)
The text was updated successfully, but these errors were encountered: