29 lines
		
	
	
		
			680 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			680 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //go:build slurp_full
 | |
| 
 | |
| package temporal
 | |
| 
 | |
| import (
 | |
| 	"context"
 | |
| 	"testing"
 | |
| 
 | |
| 	"chorus/pkg/dht"
 | |
| 	slurpStorage "chorus/pkg/slurp/storage"
 | |
| )
 | |
| 
 | |
| // TestDHTBackedTemporalSync exercises the temporal persistence manager against the mock DHT.
 | |
| // The body is TBD; it establishes the scaffolding for a full integration test once the
 | |
| // storage wiring and replication hooks are stabilised.
 | |
| func TestDHTBackedTemporalSync(t *testing.T) {
 | |
| 	t.Skip("TODO: implement DHT-backed temporal sync integration test")
 | |
| 
 | |
| 	ctx := context.Background()
 | |
| 	mockDHT := dht.NewMockDHTInterface()
 | |
| 	defer mockDHT.Close()
 | |
| 
 | |
| 	contextStore := slurpStorage.NewInMemoryContextStore()
 | |
| 
 | |
| 	_ = ctx
 | |
| 	_ = mockDHT
 | |
| 	_ = contextStore
 | |
| }
 | 
