Skip to content

Commit 2783f1b

Browse files
author
gdgate
authored
Merge pull request #1744 from dangdinh/TMA-1714
BUGFIX: TMA-1714 Fixed failed delete master project and timeout Reviewed-by: https://github.com/danh-ung
2 parents 132e215 + 2c96dc6 commit 2783f1b

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,15 @@ jobs:
233233
- &cleanup
234234
stage: after-merge
235235
name: staging1 - test environment clean-up
236-
script: bundle exec ruby bin/test_projects_cleanup.rb -f
236+
script: travis_wait 30 bundle exec ruby bin/test_projects_cleanup.rb -f
237237
env: GD_ENV=staging
238238

239239
- <<: *cleanup
240-
name: staging2 - test environment clean-up
240+
name: travis_wait 30 staging2 - test environment clean-up
241241
env: GD_ENV=testing
242242

243243
- <<: *cleanup
244-
name: staging3 - test environment clean-up
244+
name: travis_wait 30 staging3 - test environment clean-up
245245
env: GD_ENV=development
246246

247247
# AFTER MERGE UNIT TESTS ON ALTERNATIVE PLATFORM
@@ -279,6 +279,7 @@ jobs:
279279
script: bundle exec rake test:unit
280280
os: osx
281281
rvm: jruby-9.1.14
282+
osx_image: xcode7.3
282283

283284
- stage: gem-release
284285
name: deploy MRI gem

spec/lcm/userprov/users_brick_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ def user_in_domain(user_name)
181181
end
182182

183183
after do
184+
@segment && @segment.delete(force: true)
184185
@master_project.delete if @master_project
185186
end
186187
end

0 commit comments

Comments
 (0)