@@ -944,82 +944,6 @@ public async Task OrbitClient_InsertItemsWithCategories_ShouldGetRightItemForPar
944944 Assert . IsNotNull ( testFile2InPartition2 ) ;
945945 }
946946
947- // [TestMethod]
948- // public async Task OrbitClient_InsertItemsWithCategories_ShouldFindCategories()
949- // {
950- // var partition1 = "partition1";
951- // var partition2 = "partition2";
952-
953- // var expectedCategories = 2;
954-
955- // var testFile1 =
956- // new TestClassA
957- // {
958- // StringProperty = "test1",
959- // IntProperty = _globalFaker.Random.Int(),
960- // };
961-
962- // var testFile2 =
963- // new TestClassA
964- // {
965- // StringProperty = "test2",
966- // IntProperty = 84
967- // };
968-
969- // await _client.UpsertAsync(testFile1, partition1);
970- // await _client.UpsertAsync(testFile2, partition2);
971-
972- // var categories = (await _client.GetCategories<TestClassA>()).ToList();
973-
974- // Assert.IsTrue(categories.Contains(partition1));
975- // Assert.IsTrue(categories.Contains(partition2));
976- // Assert.IsTrue(categories.Count == expectedCategories);
977- // }
978-
979- // [TestMethod]
980- // public async Task OrbitClient_PopulateCacheAndInsertItemsWithCategories_ShouldFindCategories()
981- // {
982- // var partition1 = "partition1";
983- // var partition2 = "partition2";
984-
985- // var expectedCategories = 2;
986-
987- // var testFile1 =
988- // new TestClassA
989- // {
990- // StringProperty = "test1",
991- // IntProperty = _globalFaker.Random.Int(),
992- // };
993-
994- // var testFile2 =
995- // new TestClassA
996- // {
997- // StringProperty = "test2",
998- // IntProperty = 84
999- // };
1000-
1001- // await _client.PopulateCacheAsync(new[] { testFile1 }, partition1);
1002- // await _client.UpsertAsync(testFile2, partition2);
1003-
1004- // var categories = (await _client.GetCategories<TestClassA>()).ToList();
1005-
1006- // Assert.IsTrue(categories.Contains(partition1));
1007- // Assert.IsTrue(categories.Contains(partition2));
1008- // Assert.IsTrue(categories.Count == expectedCategories);
1009- // }
1010-
1011- // [TestMethod]
1012- // public async Task OrbitClient_PopulateCacheWithSimpleItems_ShouldPopulate()
1013- // {
1014- // var partition1 = "partition1";
1015- // var partition2 = "partition2";
1016-
1017- // await _client.PopulateCacheAsync(new[] { partition1, partition2 });
1018-
1019- // var latest = await _client.GetAllLatestAsync<string>();
1020-
1021- // Assert.IsTrue(latest.Count() == 2);
1022- // }
1023947 [ TestMethod ]
1024948 [ DoNotParallelize ]
1025949 public async Task OrbitClient_Reconcile_ShouldGetServerValue ( )
@@ -1055,6 +979,7 @@ public async Task OrbitClient_Reconcile_ShouldGetServerValue()
1055979 {
1056980 Value = x ,
1057981 Operation = ServerOperationType . Updated ,
982+ ModifiedOn = DateTimeOffset . Now . ToUnixTimeMilliseconds ( ) ,
1058983 } )
1059984 . ToList ( ) ;
1060985
0 commit comments