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

Investigate non-deterministic Python 3.6 scheduled parameter test failure #2090

Closed
joshmeek opened this issue Feb 26, 2020 · 0 comments
Closed
Labels
bug Something isn't working testing Related to testing workflows

Comments

@joshmeek
Copy link

https://circleci.com/gh/PrefectHQ/prefect/60188?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link

=================================== FAILURES ===================================
_______ TestFlowRunMethod.test_flow_dot_run_passes_scheduled_parameters ________

self = <tests.core.test_flow.TestFlowRunMethod object at 0x7f97b853d8d0>

    def test_flow_dot_run_passes_scheduled_parameters(self):
        a = prefect.schedules.clocks.DatesClock(
            [pendulum.now("UTC").add(seconds=0.1)], parameter_defaults=dict(x=1)
        )
        b = prefect.schedules.clocks.DatesClock(
            [pendulum.now("UTC").add(seconds=0.25)], parameter_defaults=dict(x=2)
        )
    
        x = prefect.Parameter("x", default=None, required=False)
        outputs = []
    
        @prefect.task
        def whats_the_param(x):
            outputs.append(x)
    
        with Flow("test", schedule=prefect.schedules.Schedule(clocks=[a, b])) as f:
            whats_the_param(x)
    
        f.run()
    
>       assert outputs == [1, 2]
E       assert [1] == [1, 2]
E         Right contains one more item: 2
E         Full diff:
E         - [1]
E         + [1, 2]

tests/core/test_flow.py:1620: AssertionError
@joshmeek joshmeek added bug Something isn't working testing Related to testing workflows labels Feb 26, 2020
zanieb pushed a commit that referenced this issue Jun 22, 2022
…-ui/eslint-8.18.0

Bump eslint from 8.17.0 to 8.18.0 in /orion-ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing Related to testing workflows
Projects
None yet
Development

No branches or pull requests

1 participant