mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-20 21:28:16 -04:00
test(distributed): use renamed worker address
Update the database latency fixture for NodeModel.WorkerLocalAddress. Assisted-by: Codex:gpt-6
This commit is contained in:
1 parent
7bba436135
commit
1d5e78e64e
1 file changed
+1
-1
@@ -73,7 +73,7 @@ var _ = Describe("Control plane under a failing database", Label("Distributed"),
|
||||
// would evict when it could not read the slot table.
|
||||
Expect(db.Create(&nodes.NodeModel{
|
||||
ID: "nm-victim", NodeID: "n-keep", ModelName: "victim", ReplicaIndex: 0,
|
||||
State: "loaded", InFlight: 0, Address: "10.0.0.1:9001",
|
||||
State: "loaded", InFlight: 0, WorkerLocalAddress: "10.0.0.1:9001",
|
||||
LastUsed: time.Now().Add(-time.Hour),
|
||||
}).Error).ToNot(HaveOccurred())
|
||||
|
||||
|
||||
Reference in new issue
Block a user