[DRE-commits] [librarian-puppet] 61/153: Try to fix timing issues in Travis
Stig Sandbeck Mathisen
ssm at debian.org
Wed Jun 1 20:30:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository librarian-puppet.
commit 7506cedb6a5019798f9f3b3a8cae9b2408eb6ec2
Author: Carlos Sanchez <csanchez at maestrodev.com>
Date: Fri Oct 3 09:57:29 2014 +0200
Try to fix timing issues in Travis
---
features/install.feature | 1 +
features/step_definitions/convergence_steps.rb | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/features/install.feature b/features/install.feature
index d42efda..e031645 100644
--- a/features/install.feature
+++ b/features/install.feature
@@ -108,6 +108,7 @@ Feature: cli/install
Then the exit status should be 0
And a directory named "modules/test" should exist
And the file "modules/test" should have an inode and ctime
+ Given I wait for 1 second
When I run `librarian-puppet install`
Then the exit status should be 0
And a directory named "modules/test" should exist
diff --git a/features/step_definitions/convergence_steps.rb b/features/step_definitions/convergence_steps.rb
index b7cf031..d6812c3 100644
--- a/features/step_definitions/convergence_steps.rb
+++ b/features/step_definitions/convergence_steps.rb
@@ -26,3 +26,7 @@ Then /^the file "([^"]*)" should not have the same inode or ctime as before$/ do
end
end
end
+
+Given /^I wait for (\d+) seconds?$/ do |n|
+ sleep(n.to_i)
+end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/librarian-puppet.git
More information about the Pkg-ruby-extras-commits
mailing list