Skip to content
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

Every year the parseTime test fails #159

Open
vinjana opened this issue Feb 3, 2023 · 0 comments · May be fixed by #167
Open

Every year the parseTime test fails #159

vinjana opened this issue Feb 3, 2023 · 0 comments · May be fixed by #167

Comments

@vinjana
Copy link
Contributor

vinjana commented Feb 3, 2023

Fix the test to work every year.

Successfully started process 'Gradle Test Executor 2'

de.dkfz.roddy.execution.jobs.cluster.lsf.LSFJobManagerSpec > parseTime, parses all known formats (Jan 01 01:02:   2021) FAILED
    Condition not satisfied:

    result.year == expectedYear
    |      |    |  |
    |      2022 |  2021
    |           false
    2022-01-01T01:02+01:00[Europe/Berlin]
        at de.dkfz.roddy.execution.jobs.cluster.lsf.LSFJobManagerSpec.parseTime, parses all known formats (#month #day #hour:#minute:#second #year #suffix #expectedYear)(LSFJobManagerSpec.groovy:280)

de.dkfz.roddy.execution.jobs.cluster.lsf.LSFJobManagerSpec > parseTime, parses all known formats (Feb 02 01:02:  L 2021) FAILED
    Condition not satisfied:

    result.year == expectedYear
    |      |    |  |
    |      2022 |  2021
    |           false
    2022-02-02T01:02+01:00[Europe/Berlin]
        at de.dkfz.roddy.execution.jobs.cluster.lsf.LSFJobManagerSpec.parseTime, parses all known formats (#month #day #hour:#minute:#second #year #suffix #expectedYear)(LSFJobManagerSpec.groovy:280)

de.dkfz.roddy.execution.jobs.cluster.lsf.LSFJobManagerSpec > parseTime, parses all known formats (Feb 02 01:02:  L 2021) FAILED
    Condition not satisfied:

    result.year == expectedYear
    |      |    |  |
    |      2022 |  2021
    |           false
    2022-02-02T01:02+01:00[Europe/Berlin]
        at de.dkfz.roddy.execution.jobs.cluster.lsf.LSFJobManagerSpec.parseTime, parses all known formats (#month #day #hour:#minute:#second #year #suffix #expectedYear)(LSFJobManagerSpec.groovy:280)
@vinjana vinjana linked a pull request Mar 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant