Remove private feature, restore cfg/docker (#4442)
This commit is contained in:
parent
24e9534155
commit
8f7392983f
3 changed files with 6 additions and 5 deletions
|
@ -23,8 +23,6 @@ performance-profiler = ["dep:pprof"]
|
|||
# Special features
|
||||
storage-fdb-7_1 = ["surrealdb/kv-fdb-7_1"]
|
||||
storage-fdb-7_3 = ["surrealdb/kv-fdb-7_3"]
|
||||
# Trigger database upgrade tests
|
||||
database-upgrade-tests = []
|
||||
|
||||
[workspace]
|
||||
members = [
|
||||
|
@ -184,3 +182,6 @@ assets = [
|
|||
]
|
||||
extended-description = "A scalable, distributed, collaborative, document-graph database, for the realtime web."
|
||||
license-file = ["LICENSE", "4"]
|
||||
|
||||
[lints.rust]
|
||||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docker)'] }
|
||||
|
|
|
@ -110,8 +110,8 @@ run_task = { name = ["start-surrealdb", "test-api-integration", "stop-surrealdb"
|
|||
[tasks.test-database-upgrade]
|
||||
private = true
|
||||
command = "cargo"
|
||||
env = { RUST_BACKTRACE = 1, RUST_LOG = "info" }
|
||||
args = ["test", "--locked", "--no-default-features", "--features", "database-upgrade-tests,${_TEST_FEATURES}", "--workspace", "--test", "database_upgrade", "--", "database_upgrade", "--show-output"]
|
||||
env = { RUST_BACKTRACE = 1, RUST_LOG = "info", RUSTFLAGS = "--cfg docker" }
|
||||
args = ["test", "--locked", "--no-default-features", "--features", "${_TEST_FEATURES}", "--workspace", "--test", "database_upgrade", "--", "database_upgrade", "--show-output"]
|
||||
|
||||
|
||||
#
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
mod common;
|
||||
|
||||
#[cfg(feature = "database-upgrade-tests")]
|
||||
#[cfg(docker)]
|
||||
mod database_upgrade {
|
||||
use super::common::docker::DockerContainer;
|
||||
use super::common::expected::Expected;
|
||||
|
|
Loading…
Reference in a new issue