Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dc51a5b

Browse filesBrowse files
authored
Catch errors when deleting file in FineTuningTest (TheoKanning#383)
Thsi is failing repeatedly and it's not a big deal if we don't clean this up.
1 parent e7635c3 commit dc51a5b
Copy full SHA for dc51a5b

File tree

Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed

‎service/src/test/java/com/theokanning/openai/service/FineTuningTest.java

Copy file name to clipboardExpand all lines: service/src/test/java/com/theokanning/openai/service/FineTuningTest.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ static void setup() throws Exception {
3030

3131
@AfterAll
3232
static void teardown() {
33-
service.deleteFile(fileId);
33+
try {
34+
service.deleteFile(fileId);
35+
} catch (Exception e) {
36+
// ignore
37+
}
3438
}
3539

3640
@Test

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.