Skip to content

Commit

Permalink
fix: Add dependency overrides for at_persistence_secondary_server
Browse files Browse the repository at this point in the history
  • Loading branch information
sitaram-kalluri committed Sep 20, 2023
1 parent d83c1db commit a13be69
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -479,10 +479,10 @@ void main() async {
for (int i = 0; i < 10; i++) {
if (i % 2 == 0) {
await commitLogKeystore.getBox().add(CommitEntry(
'test_key_false_$i', CommitOp.UPDATE, DateTime.now()));
'test_key_false_$i.wavi@alice', CommitOp.UPDATE, DateTime.now()));
} else {
await commitLogKeystore.getBox().add(
CommitEntry('test_key_false_$i', CommitOp.UPDATE, DateTime.now())
CommitEntry('test_key_false_$i.wavi@alice', CommitOp.UPDATE, DateTime.now())
..commitId = i);
}
}
Expand All @@ -504,10 +504,10 @@ void main() async {
for (int i = 0; i < 10; i++) {
if (i % 2 == 0) {
await commitLogKeystore.getBox().add(
CommitEntry('test_key_true_$i', CommitOp.UPDATE, DateTime.now()));
CommitEntry('test_key_true_$i.wavi@alice', CommitOp.UPDATE, DateTime.now()));
} else {
await commitLogKeystore.getBox().add(
CommitEntry('test_key_true_$i', CommitOp.UPDATE, DateTime.now())
CommitEntry('test_key_true_$i.wavi@alice', CommitOp.UPDATE, DateTime.now())
..commitId = i);
}
}
Expand Down
8 changes: 8 additions & 0 deletions packages/at_secondary_server/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ dependencies:
yaml: 3.1.2
logging: 1.2.0

dependency_overrides:
at_persistence_secondary_server:
git:
url: https://github.com/atsign-foundation/at_server.git
path: packages/at_persistence_secondary_server
ref: apkam_sync_persistence_changes


dev_dependencies:
test: ^1.24.4
coverage: ^1.6.1
Expand Down
7 changes: 7 additions & 0 deletions tests/at_functional_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ dependencies:
uuid: ^3.0.7
elliptic: ^0.3.8

dependency_overrides:
at_persistence_secondary_server:
git:
url: https://github.com/atsign-foundation/at_server.git
path: packages/at_persistence_secondary_server
ref: apkam_sync_persistence_changes

dev_dependencies:
lints: ^1.0.1
test: ^1.24.3
Expand Down

0 comments on commit a13be69

Please sign in to comment.