We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b5b5d commit 2547f5bCopy full SHA for 2547f5b
graalpython/com.oracle.graal.python.test/src/tests/standalone/test_jbang_integration.py
@@ -74,6 +74,7 @@ def setUpClass(self):
74
return
75
self.ensureProxy()
76
self.ensureLocalMavenRepo()
77
+ self.clearCache()
78
self.catalog_file = self.getCatalogFile()
79
self.registerCatalog(self.catalog_file)
80
@@ -115,6 +116,10 @@ def ensureLocalMavenRepo(self):
115
116
if MAVEN_REPO_LOCAL_URL is None:
117
self.fail("'org.graalvm.maven.downloader.repository' is not defined")
118
119
+ def clearCache(self):
120
+ command = [JBANG_CMD, "cache", "clear"]
121
+ out, result = run_cmd(command)
122
+
123
def getCatalogFile(self):
124
catalog_dir = os.path.dirname(os.path.abspath(__file__))
125
for _ in range(5):
0 commit comments