Skip to content

Commit

Permalink
PBM-1296 fix the timestamp for restore (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-havryliak authored Sep 17, 2024
1 parent 39e2b51 commit 0e60a56
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 0e60a56

Please sign in to comment.