-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hello
when first time you run plsql-spec run --coverage - it's OK, when second - there is an error
> plsql-spec run --html --coverage
Running all specs from spec/
Errno::EACCES: Permission denied - coverage/coverage.css
initialize at org/jruby/RubyFile.java:348
open at org/jruby/RubyIO.java:1123
block in copy_file at C:/ruby/jruby-9.0.3.0/lib/ruby/stdlib/fileutils.rb:1402
open at org/jruby/RubyIO.java:1125
copy_file at C:/ruby/jruby-9.0.3.0/lib/ruby/stdlib/fileutils.rb:1401
copy_file at C:/ruby/jruby-9.0.3.0/lib/ruby/stdlib/fileutils.rb:485
block in cp at C:/ruby/jruby-9.0.3.0/lib/ruby/stdlib/fileutils.rb:402
block in fu_each_src_dest at C:/ruby/jruby-9.0.3.0/lib/ruby/stdlib/fileutils.rb:1580
fu_each_src_dest0 at C:/ruby/jruby-9.0.3.0/lib/ruby/stdlib/fileutils.rb:1596
fu_each_src_dest at C:/ruby/jruby-9.0.3.0/lib/ruby/stdlib/fileutils.rb:1578
cp at C:/ruby/jruby-9.0.3.0/lib/ruby/stdlib/fileutils.rb:401
block in create_static_files at C:/ruby/jruby-9.0.3.0/lib/ruby/gems/shared/gems/ruby-plsql-spec-0.4.0/lib/plsql/coverage.rb:178
each at org/jruby/RubyArray.java:1560
create_static_files at C:/ruby/jruby-9.0.3.0/lib/ruby/gems/shared/gems/ruby-plsql-spec-0.4.0/lib/plsql/coverage.rb:177
report at C:/ruby/jruby-9.0.3.0/lib/ruby/gems/shared/gems/ruby-plsql-spec-0.4.0/lib/plsql/coverage.rb:75
report at C:/ruby/jruby-9.0.3.0/lib/ruby/gems/shared/gems/ruby-plsql-spec-0.4.0/lib/plsql/coverage.rb:66
block in (root) at C:/Users/Dmitrii.Sulimchuk/Desktop/_REPO/ccm-ssm-all/ssm-database/test/spec/spec_helper.rb:45
each at org/jruby/RubyArray.java:1560
block in (root) at C:/Users/Dmitrii.Sulimchuk/Desktop/_REPO/ccm-ssm-all/ssm-database/test/spec/spec_helper.rb:38
D, [2015-11-10T14:16:40.651000 #12928] DEBUG -- get_new_empty_subs: empty_subs =====> 111111158
D, [2015-11-10T14:16:40.754000 #12928] DEBUG -- subs_serv_hist_count_records: select count(*) cnt from subscriber_service_histories t where t.subs_id = 111111158 and t.serv_serv_id = 2 =====> {:cnt=>0}
D, [2015-11-10T14:16:40.789000 #12928] DEBUG -- get_new_empty_subs: empty_subs =====> 111111158
D, [2015-11-10T14:16:40.823000 #12928] DEBUG -- subs_serv_hist_count_records: select count(*) cnt from subscriber_service_histories t where t.subs_id = 111111158 and t.serv_serv_id = 2 =====> {:cnt=>0}
D, [2015-11-10T14:16:40.856000 #12928] DEBUG -- get_new_empty_subs: empty_subs =====> 111111158
D, [2015-11-10T14:16:40.891000 #12928] DEBUG -- subs_serv_hist_count_records: select count(*) cnt from subscriber_service_histories t where t.subs_id = 111111158 and t.serv_serv_id = 2 =====> {:cnt=>0}
D, [2015-11-10T14:16:40.932000 #12928] DEBUG -- get_new_empty_subs: empty_subs =====> 111111158
D, [2015-11-10T14:16:40.972000 #12928] DEBUG -- subs_serv_hist_count_records: select count(*) cnt from subscriber_service_histories t where t.subs_id = 111111158 and t.serv_serv_id = 2 =====> {:cnt=>0}
D, [2015-11-10T14:16:40.982000 #12928] DEBUG -- : #<Thread:0x68746f22>plsql.ssm_services_pkg.serviceActivate 111111158 and 2
D, [2015-11-10T14:16:41.991000 #12928] DEBUG -- : #<Thread:0x1bd25e9>plsql(:second_connection).ssm_services_pkg.serviceActivate 111111158 and 2
D, [2015-11-10T14:16:42.035000 #12928] DEBUG -- : delete 111111158 and 2
D, [2015-11-10T14:16:42.099000 #12928] DEBUG -- get_new_empty_subs: empty_subs =====> 111111158
D, [2015-11-10T14:16:42.107000 #12928] DEBUG -- subs_serv_hist_count_records: select count(*) cnt from subscriber_service_histories t where t.subs_id = 111111158 and t.serv_serv_id = 0 =====> {:cnt=>0}
D, [2015-11-10T14:16:42.114000 #12928] DEBUG -- subs_serv_hist_count_records: select count(*) cnt from subscriber_service_histories t where t.subs_id = 111111158 and t.serv_serv_id = 0 =====> {:cnt=>1}
D, [2015-11-10T14:16:42.123000 #12928] DEBUG -- subs_serv_hist_count_records: select count(*) cnt from subscriber_service_histories t where t.subs_id = 111111158 and t.serv_serv_id = 0 =====> {:cnt=>2}
D, [2015-11-10T14:16:42.125000 #12928] DEBUG -- subs_serv_hist_count_records: select count(*) cnt from subscriber_service_histories t where t.subs_id = 111111158 and t.serv_serv_id = 0 and t.end_date < t.start_da
te =====> {:cnt=>1}
Test results in test-results.html
Coverage report in coverage/index.html
Failing tests!
Metadata
Metadata
Assignees
Labels
No labels