Tests depending on archive engine should be skipped if archive isn't enabled
Bug #693130 reported by
David Shrewsbury
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Wishlist
|
Patrick Crews | ||
7.0 |
Fix Released
|
Wishlist
|
Patrick Crews |
Bug Description
The main.drizzledum
We should skip the test if archive engine isn't enabled.
Related branches
lp:~patrick-crews/drizzle/bug693130
- Drizzle Developers: Pending requested
-
Diff: 455 lines (+215/-216)5 files modifiedplugin/archive/tests/r/drizzledump-max.result (+149/-0)
plugin/archive/tests/t/drizzledump-max.test (+66/-0)
tests/r/drizzledump-max.result (+0/-149)
tests/t/drizzledump-max-master.opt (+0/-1)
tests/t/drizzledump-max.test (+0/-66)
Changed in drizzle: | |
assignee: | nobody → Patrick Crews (patrick-crews) |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in drizzle: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This is a weakness of test-run.pl
The problem is as follows: add=archive as the plugin is not loaded by default archive- plugin, this will cause the server to fail to startup: plugin/ .libs/libarchiv e_plugin. so' (errno: 2 /drizzle/ plugin/ .libs/libarchiv e_plugin. so: cannot open shared object file: No such file or d)Couldn't load plugin library named 'archive'.
* We need the archive plugin to run drizzledump-max
* We have to use a master-opt.file using --plugin-
* If we are configured --without-
Can't open shared library '/drizzle/
* We have no smart way of describing these contingencies via test-run.pl / the test language
Will move drizzledump-max to the archive suite as it really is a largely archive-related test anyway. However, note that the archive suite will fail if we are configured --without- archive- plugin.
This will hold true for any configure '--without- <plugin> -plugin' and running said plugins suite.