Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(coderd): move test location to ignore Australia time saving error#15013

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
defelmnq merged 2 commits intomainfromfix/failing-coderd-tz
Oct 7, 2024

Conversation

defelmnq
Copy link
Contributor

A test is currently failing because it relies on Sidney Tz.

from the internet :

Daylight Saving Time begins at 2 am (AEST) on the first Sunday in October and ends at 3 am (Australian Eastern Daylight Time) on the first Sunday in April.

Due to that - there's one hour missing in the tests - and the test6 days are acceptable is failing.

Changing to another timezone to fix the situation, it would require a longer-term solution or making sure it cannot happen anymore.

@defelmnqdefelmnq self-assigned thisOct 7, 2024
@defelmnqdefelmnq changed the titlefix(coderd): change test location to ignore Australia time saving errorfix(coderd): move test location to ignore Australia time saving errorOct 7, 2024
Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for the hotfix, approved. And we definitely need to fix the underlying issue later.

@defelmnqdefelmnq merged commit6bf73a5 intomainOct 7, 2024
26 checks passed
@defelmnqdefelmnq deleted the fix/failing-coderd-tz branchOctober 7, 2024 19:10
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 7, 2024
@@ -179,17 +179,17 @@ func Test_parseInsightsInterval_week(t *testing.T) {
t.Parallel()

layout := insightsTimeLayout
sydneyLoc, err := time.LoadLocation("Australia/Sydney") // Random location
losAngelesLoc, err := time.LoadLocation("America/Los_Angeles") // Random location
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@dannykoppingdannykoppingdannykopping left review comments

@mafredrimafredrimafredri approved these changes

@mtojekmtojekAwaiting requested review from mtojek

Assignees

@defelmnqdefelmnq

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@defelmnq@mafredri@dannykopping

[8]ページ先頭

©2009-2025 Movatter.jp