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

test_concurrent_futures.test_wait: test_timeout() failed on ARM Raspbian 3.x #109594

Closed
Labels
testsTests in the Lib/test dir
@vstinner

Description

@vstinner

The test uses sleep and timeout in seconds (6 and 7 seconds):

@support.requires_resource('walltime')deftest_timeout(self):future1=self.executor.submit(mul,6,7)future2=self.executor.submit(time.sleep,6)# <==== HEREfinished,pending=futures.wait(                [CANCELLED_AND_NOTIFIED_FUTURE,EXCEPTION_FUTURE,SUCCESSFUL_FUTURE,future1,future2],timeout=5,# <=== HEREreturn_when=futures.ALL_COMPLETED)self.assertEqual(set([CANCELLED_AND_NOTIFIED_FUTURE,EXCEPTION_FUTURE,SUCCESSFUL_FUTURE,future1]),finished)self.assertEqual(set([future2]),pending)

ARM Raspbian 3.x:

test_timeout (test.test_concurrent_futures.test_wait.ProcessPoolForkserverWaitTest.test_timeout) ... FAILStdout:12.34s (...)FAIL: test_timeout (test.test_concurrent_futures.test_wait.ProcessPoolForkserverWaitTest.test_timeout)----------------------------------------------------------------------Traceback (most recent call last):  File "/var/lib/buildbot/workers/3.x.gps-raspbian.nondebug/build/Lib/test/test_concurrent_futures/test_wait.py", line 128, in test_timeout    self.assertEqual(set([CANCELLED_AND_NOTIFIED_FUTURE,AssertionError: Items in the first set but not the second:<Future at 0xf5fbdfc0 state=running>

build:https://buildbot.python.org/all/#/builders/424/builds/4964

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp