Explorar o código

fix: persistence tests

Yeuoly hai 8 meses
pai
achega
97530f2301
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      internal/core/persistence/persistence_test.go

+ 1 - 1
internal/core/persistence/persistence_test.go

@@ -92,7 +92,7 @@ func TestPersistenceSaveAndLoadWithLongKey(t *testing.T) {
 		PersistenceStorageMaxSize: 1024 * 1024 * 1024,
 	})
 
-	key := strings.RandomString(65)
+	key := strings.RandomString(257)
 
 	if err := persistence.Save("tenant_id", "plugin_checksum", -1, key, []byte("data")); err == nil {
 		t.Fatalf("Expected error, got nil")