Commit 1e2cbff
test: check that snapshots can be taken at current version
Add a test that verified that taking a snapshot with target_version set
to the version specified in src/firecracker/Cargo.toml works, and yields
a snapshot where --describe-snapshot returns that very same version
again.
This test covers the short window between a version bump before a
release during which no new release binary has been uploaded to S3 yet.
Previously, the existing tests would not catch if it was not possible to
take a snapshot in the about-to-be-released version, as only versions
that had their binaries in S3 were considered.
Co-Authored-By: Pablo Barbáchano <[email protected]>
Signed-off-by: Patrick Roy <[email protected]>1 parent 7d7572e commit 1e2cbff
1 file changed
+44
-1
lines changedLines changed: 44 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
119 | 162 | | |
120 | 163 | | |
121 | 164 | | |
| |||
0 commit comments