##// END OF EJS Templates
test: simplify test-amend.t to avoid race condition...
test: simplify test-amend.t to avoid race condition Insted on relying on sleep, we could simply have the editor do the file change. This remove the reliance on "sleep" and avoid test failing on heavy load machine. To test this, I reverted the code change in 5558e3437872 and the test started failing again. Differential Revision: https://phab.mercurial-scm.org/D8065

File last commit:

r43815:e182deb5 default
r44731:141ceec0 default
Show More
Vagrantfile
13 lines | 415 B | text/x-ruby | RubyLexer
anatoly techtonik
contrib/vagrant: use Vagrant for running tests on virtual machine...
r21874 # -*- mode: ruby -*-
Vagrant.configure('2') do |config|
Augie Fackler
vagrant: update vagrant image to buster from jessie...
r43909 # Debian 10.1 x86_64 without configuration management software
config.vm.box = "debian/buster64"
anatoly techtonik
contrib/vagrant: use Vagrant for running tests on virtual machine...
r21874 config.vm.hostname = "tests"
config.vm.define "tests" do |conf|
conf.vm.provision :file, source: "run-tests.sh", destination:"run-tests.sh"
conf.vm.provision :shell, path: "provision.sh"
conf.vm.synced_folder "../..", "/hgshared"
end
end