/ test / e2e / sync_live_test.go
sync_live_test.go
 1  // test/e2e/sync_live_test.go
 2  package e2e
 3  
 4  import (
 5  	"os"
 6  	"testing"
 7  )
 8  
 9  // TestE2ESyncLive runs against a real Shannon Cloud sync endpoint. Currently
10  // always skipped — the endpoint does not yet exist (see Phase 2.0 spec
11  // "Cloud-side TODO"). When Cloud ships /api/v1/sessions/sync, replace the
12  // skip with assertions against a small synthetic dataset.
13  func TestE2ESyncLive(t *testing.T) {
14  	if os.Getenv("SHANNON_E2E_LIVE") != "1" {
15  		t.Skip("set SHANNON_E2E_LIVE=1 to enable")
16  	}
17  	t.Skip("cloud sync endpoint not yet live; replace this skip when /api/v1/sessions/sync exists")
18  }