Add Emberwake Cloud Ecosystem deploy hub with AWS and generic spread templates.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Unified expandable panels with mermaid flows, ZIP export, connection tests, and Playwright smoke coverage.
This commit is contained in:
16
server/internal/fargate/burst_test.go
Normal file
16
server/internal/fargate/burst_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package fargate
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGenerateBundle(t *testing.T) {
|
||||
b, err := GenerateBundle(Options{ShardToken: "t", Shards: [][]byte{[]byte("x")}, TTLHours: 3})
|
||||
if err != nil || len(b.TaskDefinitionJSON) == 0 {
|
||||
t.Fatalf("err=%v", err)
|
||||
}
|
||||
if !strings.Contains(string(b.TaskDefinitionJSON), "AF_SHARD_MANIFEST_B64") {
|
||||
t.Fatal("missing manifest env")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user