Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not uploading database_spec.rb test file #278

Closed
williamherry opened this issue Dec 7, 2013 · 1 comment
Closed

not uploading database_spec.rb test file #278

williamherry opened this issue Dec 7, 2013 · 1 comment

Comments

@williamherry
Copy link

there are two file in my test/integration/default/serverspec/localhost/, database_spec.rb and webserver_spec.rb, but only webserver_spec.rb was uploaded to instance, after some dig, I find this code

def local_suite_files
      glob = File.join(config[:test_base_path], config[:suite_name], "*/**/*")
      Dir.glob(glob).reject do |f|
        f[/(data|data_bags|environments|nodes|roles)/] || File.directory?(f)
      end
    end
end

seems it filter database_spec.rb file because it is beginning with data, this may be a bug

@juliandunn
Copy link

This is a duplicate of #276

@test-kitchen test-kitchen locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants