diff --git a/modules/mesh-delivery-checker/manifest_test.go b/modules/mesh-delivery-checker/manifest_test.go index df61846..7d995a3 100644 --- a/modules/mesh-delivery-checker/manifest_test.go +++ b/modules/mesh-delivery-checker/manifest_test.go @@ -187,8 +187,12 @@ func TestManifestProcess(t *testing.T) { // 1678/AC1 if _, bus := p["bus"]; bus { t.Errorf("the process declares a bus: it runs on its own broker credential") } - if len(m.Build.Artifacts) != 2 { - t.Fatalf("artifacts = %+v, want the program and the tools", m.Build.Artifacts) + // The settings template is packed as the files archive (novox/hq ADR 0349 ยง2), or the indexer's judge refuses it. + if len(m.Build.Artifacts) != 3 { + t.Fatalf("artifacts = %+v, want the program, the tools and the files archive", m.Build.Artifacts) + } + if a := m.Build.Artifacts[2]; a.Name != "files" || a.Kind != "archive" || a.From != "files" { + t.Errorf("files artifact = %+v, want an archive from files/", a) } if a := m.Build.Artifacts[1]; a.Name != "tools" || a.Kind != "bundle" || a.Language != "go" || a.Binary != "mesh-delivery-checker-tools" || !reflect.DeepEqual(a.Loads, []string{"mesh-delivery-checker-tools"}) { diff --git a/modules/mesh-delivery-checker/module.json b/modules/mesh-delivery-checker/module.json index 23247f5..767884c 100644 --- a/modules/mesh-delivery-checker/module.json +++ b/modules/mesh-delivery-checker/module.json @@ -149,6 +149,11 @@ "loads": [ "mesh-delivery-checker-tools" ] + }, + { + "name": "files", + "kind": "archive", + "from": "files" } ] }