Skip to content

Commit

Permalink
Try to make unit test finish on travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ngiger committed Nov 5, 2015
1 parent fb6a16b commit 45f17f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -15,3 +15,6 @@ addons:
apt:
packages:
- nodejs
# some unit tests behave differently with other
env:
- de_CH.UTF-8 LANGUAGE=de_CH
1 change: 1 addition & 0 deletions src/util/resilient_loop.rb
Expand Up @@ -84,6 +84,7 @@ def get_state
end
end
def save_state(state)
FileUtils.mkdir_p File.dirname(@state_file)
File.open(@state_file, 'w+') { |f| f.write(state)}
end
def clear_state
Expand Down
1 change: 1 addition & 0 deletions test/test_util/resilient_loop.rb
Expand Up @@ -17,6 +17,7 @@ def setup

def teardown
@r_loop.finished
super
end

def test_full_loop_no_problem
Expand Down

0 comments on commit 45f17f0

Please sign in to comment.