mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-23 12:47:48 +00:00
77ac0f0f78
Declare the versioned wire vocabulary for the vpc.* control-plane-to-
network-realisation boundary: subjects, payload types, the shared
{success,error} ack envelope and the vpcd-workers queue group, one
file per route family. No NATS I/O, no consumer switched over yet;
the package coexists with the fragmented originals pinned in the
prior characterization commit until slice 3 migrates call sites.
14 lines
317 B
Go
14 lines
317 B
Go
package networkv1_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
networkv1 "github.com/mulgadc/spinifex/contracts/network/v1"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
// TestQueueGroup pins the queue group literal every vpcd subscribes under.
|
|
func TestQueueGroup(t *testing.T) {
|
|
assert.Equal(t, "vpcd-workers", networkv1.QueueGroup)
|
|
}
|