Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Unknown
-
Resolution: Fixed
-
Affects Version/s: 10.14.0
-
Fix Version/s: 10.14.4
-
Component/s: Chef Client
-
Environment:
CentOS 6.x in EC2.
Description
I'm not 100% where to start with the issues, so I'll just start here ![]()
Currently I'm testing Chef 10.14.0.rc.1 in order to see if my issue with minitest tests has been resolved, but during testing I've run into a lot more problems.
I've updated to Chef 10.14.0.rc.1 on my node. I've also updated to the latest mysql cookbook, minitest-handler cookbook, and minitest-chef-handler gem.
In the mysql cookbook, I would normally get an error like:
So I made the following change, and now get what is in the attached file:
--- a/cookbooks/mysql/files/default/tests/minitest/server_test.rb +++ b/cookbooks/mysql/files/default/tests/minitest/server_test.rb @@ -1,18 +1,18 @@ -require File.expand_path('../helpers', __FILE__) +require File.expand_path(Chef::Config[:file_cache_path] + '/cookbooks/mysql/libraries/helpers.rb', __FILE__)
Additional errors with my own tests are also shown in the file, so I'm not 100% where to start in the debugging process.
Hi, Leif Madsen
It looks like the problems are between your code and the minitest chef code for the error you're getting in default_test.rb.
Can you attach server_test.rb? That might have additional clues as that is where the error output is indicating the problems.