Skip to content

Commit

Permalink
PBM-1296 fix the timestamp for restore
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-havryliak committed Sep 17, 2024
1 parent 39e2b51 commit ec4c19f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pbm-functional/pytest/test_replicaset.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def test_logical_timeseries_PBM_T224(start_cluster,cluster):
pymongo.MongoClient(cluster.connection)["test"]["test1"].insert_one({"timestamp": datetime.now(), "data": i})
pymongo.MongoClient(cluster.connection)["test"]["test2"].insert_one({"timestamp": datetime.now(), "data": i})
time.sleep(0.1)
time.sleep(5)
pitr = datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%S")
backup="--time=" + pitr
Cluster.log("Time for PITR is: " + pitr)
Expand Down

0 comments on commit ec4c19f

Please sign in to comment.