Skip to content

Commit

Permalink
Remove test that has raced file invalidation ever since the notify ba…
Browse files Browse the repository at this point in the history
…ckend was added, but which will now fairly consistently lose that race.

# Delete this line to force CI to run the JVM tests.
[ci skip-jvm-tests]
  • Loading branch information
Stu Hood committed May 13, 2020
1 parent 8bb78d8 commit 9949a8c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/python/pants/engine/internals/mapper_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,6 @@ def test_no_address_no_family(self) -> None:
build_file = os.path.join(self.build_root, "a/c", "c.BUILD.json")
with safe_open(build_file, "w") as fp:
fp.write('{"type_alias": "struct", "name": "c"}')

# Exists on disk, but not yet in memory.
with self.assertRaises(Exception):
self.resolve(spec)

self.scheduler.invalidate_files(["a/c"])

# Success.
Expand Down

0 comments on commit 9949a8c

Please sign in to comment.