Skip to content

Commit

Permalink
TEMP: START UPDATING CIDS
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzadlone committed Sep 7, 2023
1 parent f102b7d commit 1283538
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/integration/schema/migrations/query/simple_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,10 @@ func TestSchemaMigrationQueryMigrationCopiesExistingFieldWhenSrcAndDstFieldNotRe
},
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreidovoxkxttybaew2qraoelormm63ilutzms7wlwmcr3xru44hfnta",
DestinationSchemaVersionID: "bafkreia4bbxhtqwzw4smby5xsqxv6ptoc6ijc6v3lmnlv66twpfak5gxxq",
SourceSchemaVersionID: "bafkreiddfywo3vlsxvqwh7iuvhb7k5j5ibk675gxasna55wzhso3c573fe",
DestinationSchemaVersionID: "bafkreifvhuoutlipfmuwdiofyisbkea7m7jv5jdsea5fwrccywhfk547ry",
// SourceSchemaVersionID: "bafkreidovoxkxttybaew2qraoelormm63ilutzms7wlwmcr3xru44hfnta",
// DestinationSchemaVersionID: "bafkreia4bbxhtqwzw4smby5xsqxv6ptoc6ijc6v3lmnlv66twpfak5gxxq",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down
4 changes: 4 additions & 0 deletions tests/integration/utils2.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"testing"
"time"

"github.com/davecgh/go-spew/spew"
badger "github.com/dgraph-io/badger/v4"
"github.com/sourcenetwork/immutable"
"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -773,6 +774,9 @@ func refreshCollections(

for i, collectionName := range s.collectionNames {
for _, collection := range allCollections {
fmt.Println("------------------------------------")
spew.Dump(collection.Schema().VersionID)
fmt.Println("------------------------------------")
if collection.Name() == collectionName {
s.collections[nodeID][i] = collection
break
Expand Down

0 comments on commit 1283538

Please sign in to comment.