Skip to content

Commit

Permalink
[tufaceous] make fake SP/RoT names the same as sp-sim (#4408)
Browse files Browse the repository at this point in the history
I'd imagine that the two are used together most often.
  • Loading branch information
sunshowers authored Nov 1, 2023
1 parent 5be4c93 commit 9a50714
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions tufaceous-lib/src/assemble/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,10 @@ impl<'a> FakeDataAttributes<'a> {
| KnownArtifactKind::Trampoline
| KnownArtifactKind::ControlPlane => return make_filler_text(size),

// hubris artifacts: build a fake archive
KnownArtifactKind::GimletSp => "fake-gimlet-sp",
KnownArtifactKind::GimletRot => "fake-gimlet-rot",
// hubris artifacts: build a fake archive (SimGimletSp and
// SimGimletRot are used by sp-sim)
KnownArtifactKind::GimletSp => "SimGimletSp",
KnownArtifactKind::GimletRot => "SimGimletRot",
KnownArtifactKind::PscSp => "fake-psc-sp",
KnownArtifactKind::PscRot => "fake-psc-rot",
KnownArtifactKind::SwitchSp => "fake-sidecar-sp",
Expand Down
2 changes: 1 addition & 1 deletion wicketd/tests/integration_tests/updates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ async fn test_updates() {
StepEventKind::ExecutionFailed { failed_step, .. } => {
// TODO: obviously we shouldn't stop here, get past more of the
// update process in this test.
assert_eq!(failed_step.info.component, UpdateComponent::Sp);
assert_eq!(failed_step.info.component, UpdateComponent::Rot);
}
other => {
panic!("unexpected terminal event kind: {other:?}");
Expand Down

0 comments on commit 9a50714

Please sign in to comment.