Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nexus] Add tests for instance_create unwind safety #1843

Merged
merged 25 commits into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
02c50b5
VERY wip; basically just refactoring Nexus interfaces for testability
smklein Oct 10, 2022
971f0b8
hacks
smklein Oct 10, 2022
f8081d1
Merge branch 'main' into disk-create-idempotency
smklein Oct 10, 2022
7bcf9d6
Merge branch 'main' into disk-create-idempotency
smklein Oct 17, 2022
31bbc22
Add unwind test, add undo actions
smklein Oct 19, 2022
a8f9e5d
Undo the saga interface changes
smklein Oct 19, 2022
85862c5
[nexus] Add tests for instance_create idempotency
smklein Oct 20, 2022
e44438d
Make nexus-test-utils no longer depend on Nexus, for the most part.
smklein Oct 26, 2022
f210c6d
cargo doc didn't like my ascii art
smklein Oct 26, 2022
0d1f8bf
Add prefix
smklein Oct 26, 2022
3ad8db3
Merge branch 'main' into disk-create-idempotency
smklein Oct 26, 2022
5915192
Merge branch 'disk-create-idempotency' into instance-create-saga-tests
smklein Oct 26, 2022
5422a0f
Merge updates, using generic nexus-test-utils and test-only DB access
smklein Oct 26, 2022
35a1b73
Merge branch 'main' into disk-create-idempotency
smklein Nov 1, 2022
6cc0e03
Merge branch 'main' into disk-create-idempotency
smklein Nov 1, 2022
dbd6276
Merge branch 'disk-create-idempotency' into instance-create-saga-tests
smklein Nov 1, 2022
320a380
Use new steno interface
smklein Nov 2, 2022
de670d1
Merge branch 'main' into disk-create-idempotency
smklein Nov 2, 2022
bd5cd0a
Use new steno API to automatically iterate over all nodes
smklein Nov 2, 2022
d63fed2
fmt
smklein Nov 2, 2022
6d8f5e7
Merge branch 'disk-create-idempotency' into instance-create-saga-tests
smklein Nov 2, 2022
4fe4896
fmt
smklein Nov 2, 2022
5c765fc
Merge branch 'main' into disk-create-idempotency
smklein Nov 2, 2022
2d06f71
Fix steno version
smklein Nov 2, 2022
301bcac
Merge branch 'disk-create-idempotency' into instance-create-saga-tests
smklein Nov 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
271 changes: 176 additions & 95 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ serde_json = "1.0"
serde_with = "2.0.1"
slog = { version = "2.5", features = [ "max_level_trace", "release_max_level_debug" ] }
smf = "0.2"
steno = "0.2"
steno = { git = "https://github.com/oxidecomputer/steno", rev = "4cebb996217453b79896b53c9c2026007f2e69e8" }
thiserror = "1.0"
tokio = { version = "1.21", features = [ "full" ] }
tokio-postgres = { version = "0.7", features = [ "with-chrono-0_4", "with-uuid-1" ] }
Expand All @@ -36,5 +36,6 @@ progenitor = { git = "https://github.com/oxidecomputer/progenitor" }

[dev-dependencies]
expectorate = "1.0.5"
libc = "0.2.135"
serde_urlencoded = "0.7.1"
tokio = { version = "1.21", features = [ "test-util" ] }
Loading