Skip to content

Test for TestToTime fails #75

@iyad-f

Description

@iyad-f

So i cloned the repo and ran the tests and here is the output

?       github.com/sony/sonyflake/v2/awsutil    [no test files]
?       github.com/sony/sonyflake/v2/example    [no test files]
?       github.com/sony/sonyflake/v2/mock       [no test files]
?       github.com/sony/sonyflake/v2/types      [no test files]
sonyflake id: 838915993
decompose: map[id:838915993 machine:55193 sequence:0 time:50]
max sequence: 255
number of id: 24577
number of cpu: 16
number of id: 16000
--- FAIL: TestToTime (0.00s)
    sonyflake_test.go:370: unexpected time: 2025-06-22 18:29:14.304 +0530 IST
FAIL
FAIL    github.com/sony/sonyflake/v2    0.943s
FAIL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions