Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Oct 24, 2024
1 parent 1c29905 commit c0238e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/command_v2/test_cache_save_restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import os
import shutil
import tarfile
import time

import pytest

Expand Down Expand Up @@ -157,12 +158,15 @@ def test_cache_save_restore_multiple_revisions():
c = TestClient()
c.save({"conanfile.py": GenConanfile("pkg", "0.1")})
c.run("create .")
time.sleep(0.01)
rrev1 = c.exported_recipe_revision()
c.save({"conanfile.py": GenConanfile("pkg", "0.1").with_class_attribute("var=42")})
c.run("create .")
time.sleep(0.01)
rrev2 = c.exported_recipe_revision()
c.save({"conanfile.py": GenConanfile("pkg", "0.1").with_class_attribute("var=123")})
c.run("create .")
time.sleep(0.01)
rrev3 = c.exported_recipe_revision()

def check_ordered_revisions(client):
Expand Down

0 comments on commit c0238e7

Please sign in to comment.