File tree Expand file tree Collapse file tree
secretmanager/src/test/java/secretmanager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ public static void afterAll() throws Exception {
160160 deleteSecret (TEST_SECRET_TO_DELETE .getName ());
161161 deleteSecret (TEST_SECRET_TO_DELETE_WITH_ETAG .getName ());
162162 deleteSecret (TEST_SECRET_WITH_VERSIONS .getName ());
163- Thread .sleep (5000 );
164163 deleteTags ();
165164 }
166165
@@ -207,7 +206,9 @@ private static void createTags() throws Exception{
207206 }
208207
209208 private static void deleteTags () throws Exception {
210- try (TagValuesClient tagValuesClient = TagValuesClient .create ()) {
209+
210+ Thread .sleep (60000 );
211+ try (TagValuesClient tagValuesClient = TagValuesClient .create ()) {
211212 DeleteTagValueRequest request =
212213 DeleteTagValueRequest .newBuilder ()
213214 .setName (TAG_VALUE .getName ())
Original file line number Diff line number Diff line change @@ -223,7 +223,8 @@ private static void createTags() throws Exception{
223223 }
224224
225225 private static void deleteTags () throws Exception {
226- try (TagValuesClient tagValuesClient = TagValuesClient .create ()) {
226+ Thread .sleep (60000 );
227+ try (TagValuesClient tagValuesClient = TagValuesClient .create ()) {
227228 DeleteTagValueRequest request =
228229 DeleteTagValueRequest .newBuilder ()
229230 .setName (TAG_VALUE .getName ())
You can’t perform that action at this time.
0 commit comments