view · edit · sidebar · attach · print · history

20121122-debug-oddb-org-plugin-testcase

<< | Index | >>


Summary

  • Repair plugin testcase.
  • Debug encoding problem on production.

Commits

Index


Debug plugin testcase

Finished in 33.327558752 seconds.

537 tests, 873 assertions, 46 failures, 40 errors, 0 pendings, 0 omissions, 1 notifications
83.9851% passed

16.11 tests/s, 26.19 assertions/s

yaml plugin

  • $ ruby test/test_plugin/test_yaml.rb --name test_check_infos__no_descr_fachinfo
  • $ ruby test/test_plugin/test_yaml.rb --name test_check_infos__valid_fachinfo
  • $ ruby test/test_plugin/test_yaml.rb --name test_export
  • $ ruby test/test_plugin/test_yaml.rb --name test_export_patinfos__no_descr_patinfo (alias)
  • $ ruby test/test_plugin/test_yaml.rb --name test_export_patinfos__valid_patinfo (alias)
  • $ ruby test/test_plugin/test_yaml.rb --name test_export_effective_patinfos__no_descr_patinfo
  • $ ruby test/test_plugin/test_yaml.rb --name test_export_effective_patinfos__valid_patinfo
  • $ ruby test/test_plugin/test_yaml.rb --name test_export_fachinfos__no_descr_fachinfo
  • $ ruby test/test_plugin/test_yaml.rb --name test_export_fachinfos__valid_fachinfo
  • $ ruby test/test_plugin/test_yaml.rb --name test_export_effective_fachinfos__no_descr_fachinfo
  • $ ruby test/test_plugin/test_yaml.rb --name test_export_effective_fachinfos__valid_fachinfo
$ ruby test/test_plugin/test_yaml.rb
Finished in 0.059217471 seconds.

18 tests, 18 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

303.96 tests/s, 303.96 assertions/s
commit

Ref.

$ ruby test/test_plugin/suite.rb
...
Finished in 33.391450501 seconds.

526 tests, 866 assertions, 46 failures, 36 errors, 0 pendings, 0 omissions, 1 notifications
84.4106% passed

15.75 tests/s, 25.93 assertions/s

Debug encoding error on production

Update error.
The first time of this job did not caused this error.

recall.rss is created correctly.
It seems that hpc.rss has this problem.

Plugin: ODDB::RssPlugin
Error: ArgumentError
Message: invalid byte sequence in US-ASCII
Backtrace:
/var/www/oddb.org/src/plugin/rss.rb:144:in `gsub'
/var/www/oddb.org/src/plugin/rss.rb:144:in `block (3 levels) in generate_flavored_rss'
/var/www/oddb.org/src/plugin/rss.rb:143:in `open'
...
commit
view · edit · sidebar · attach · print · history
Page last modified on November 22, 2012, at 09:40 AM