ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/tests
Martin von Zweigbergk dabfd04da6 tests: attempt to de-flake operation-merging test
We resolve checkouts in favor of the first-committed operation (which
is more likely to have managed to update the working copy). The test
case has been flaky on GitHub lately. I've run it 1000 times on my
machine without failure. I don't know if GitHub's machines are just
faster in some way (SSD, maybe) that makes them finish the two
operations in the test in the same millisecond. Let's add a
1-millisecond sleep to see if that helps. If it doesn't, then maybe
the issue is that the clock has lower precision (or their clocks can
go backwards?).
2022-02-09 11:15:10 -08:00
..
test_bad_locking.rs tests: rename init_repo() to init_workspace() 2022-02-05 13:02:19 -08:00
test_commit_builder.rs tests: don't create workspaces in CommitBuilder tests 2022-02-05 15:39:03 -08:00
test_commit_concurrent.rs tests: rename init_repo() to init_workspace() 2022-02-05 13:02:19 -08:00
test_conflicts.rs tests: don't create workspaces in conflict tests 2022-02-05 15:39:03 -08:00
test_diff_summary.rs tests: don't create workspaces in diff-summary tests 2022-02-05 15:31:09 -08:00
test_git.rs tests: don't create workspaces in git tests 2022-02-05 13:45:41 -08:00
test_index.rs tests: don't create workspaces in index tests 2022-02-05 13:45:41 -08:00
test_init.rs view: inline checkout() into remaining few callers 2022-02-05 15:43:37 -08:00
test_load_repo.rs tests: don't create workspaces in repo-loading tests 2022-02-05 13:47:48 -08:00
test_merge_trees.rs tests: don't create workspaces in tree-merge tests 2022-02-05 13:47:48 -08:00
test_mut_repo.rs tests: don't create workspaces in MutableRepo tests 2022-02-05 15:27:02 -08:00
test_operations.rs tests: don't create workspaces in operation tests 2022-02-05 15:35:59 -08:00
test_refs.rs tests: rename init_repo() to init_workspace() 2022-02-05 13:02:19 -08:00
test_revset.rs tests: remove a leftover removal of a checkout in a revset test 2022-02-05 20:11:50 -08:00
test_revset_graph_iterator.rs tests: don't create workspaces in RevsetGraphIterator tests 2022-02-05 15:30:27 -08:00
test_rewrite.rs tests: don't create workspaces in rewrite tests 2022-02-05 15:02:10 -08:00
test_view.rs tests: attempt to de-flake operation-merging test 2022-02-09 11:15:10 -08:00
test_working_copy.rs working_copy: make sure discarded update is not visible 2022-02-09 10:40:51 -08:00
test_working_copy_concurrent.rs tests: rename init_repo() to init_workspace() 2022-02-05 13:02:19 -08:00
test_workspace.rs tests: rename init_repo() to init_workspace() 2022-02-05 13:02:19 -08:00