Workaround for hanging test
diff --git a/idea/testData/hierarchy/withLib/annotation/Annotation_verification.xml b/idea/testData/hierarchy/withLib/annotation/Annotation_verification.xml
index 971fa6c..47dc71a 100644
--- a/idea/testData/hierarchy/withLib/annotation/Annotation_verification.xml
+++ b/idea/testData/hierarchy/withLib/annotation/Annotation_verification.xml
@@ -1,66 +1,4 @@
<node text="Annotation (java.lang.annotation)" base="true">
- <node text="Override (java.lang)"/>
- <node text="Language (org.intellij.lang.annotations)"/>
- <node text="SuppressWarnings (java.lang)"/>
- <node text="Deprecated (java.lang)"/>
- <node text="Inherited (java.lang.annotation)"/>
- <node text="NonNls (org.jetbrains.annotations)"/>
- <node text="Target (java.lang.annotation)"/>
- <node text="Mutable (org.jetbrains.annotations)"/>
- <node text="Subst (org.intellij.lang.annotations)"/>
- <node text="Retention (java.lang.annotation)"/>
- <node text="TestOnly (org.jetbrains.annotations)"/>
- <node text="Nullable (org.jetbrains.annotations)"/>
- <node text="Nullable (org.jetbrains.annotations)"/>
- <node text="ReadOnly (org.jetbrains.annotations)"/>
- <node text="Nls (org.jetbrains.annotations)"/>
- <node text="Identifier (org.intellij.lang.annotations)"/>
- <node text="PrintFormat (org.intellij.lang.annotations)"/>
- <node text="RegExp (org.intellij.lang.annotations)"/>
- <node text="Documented (java.lang.annotation)"/>
- <node text="Pattern (org.intellij.lang.annotations)"/>
- <node text="PropertyKey (org.jetbrains.annotations)"/>
- <node text="NotNull (org.jetbrains.annotations)"/>
- <node text="NotNull (org.jetbrains.annotations)"/>
- <node text="Transient (kotlin.jvm)"/>
- <node text="Throws (kotlin.jvm)"/>
- <node text="PurelyImplements (kotlin.jvm)"/>
- <node text="JvmSuppressWildcards (kotlin.jvm)"/>
- <node text="JvmSynthetic (kotlin.jvm)"/>
- <node text="JvmWildcard (kotlin.jvm)"/>
- <node text="JvmVersion (kotlin.jvm)"/>
- <node text="Strictfp (kotlin.jvm)"/>
- <node text="JvmMultifileClass (kotlin.jvm)"/>
- <node text="JvmStatic (kotlin.jvm)"/>
- <node text="Volatile (kotlin.jvm)"/>
- <node text="JvmOverloads (kotlin.jvm)"/>
- <node text="JvmField (kotlin.jvm)"/>
- <node text="JvmName (kotlin.jvm)"/>
- <node text="Synchronized (kotlin.jvm)"/>
- <node text="Exact (kotlin.internal)"/>
- <node text="HidesMembers (kotlin.internal)"/>
- <node text="NoInfer (kotlin.internal)"/>
- <node text="InlineOnly (kotlin.internal)"/>
- <node text="LowPriorityInOverloadResolution (kotlin.internal)"/>
- <node text="PlatformDependent (kotlin.internal)"/>
- <node text="PureReifiable (kotlin.internal)"/>
- <node text="OnlyInputTypes (kotlin.internal)"/>
- <node text="DynamicExtension (kotlin.internal)"/>
- <node text="Target (kotlin.annotation)"/>
- <node text="Retention (kotlin.annotation)"/>
- <node text="Repeatable (kotlin.annotation)"/>
- <node text="MustBeDocumented (kotlin.annotation)"/>
- <node text="RestrictsSuspension (kotlin.coroutines)"/>
- <node text="ExtensionFunctionType (kotlin)"/>
- <node text="Metadata (kotlin)"/>
- <node text="DslMarker (kotlin)"/>
- <node text="UnsafeVariance (kotlin)"/>
- <node text="ReplaceWith (kotlin)"/>
- <node text="Suppress (kotlin)"/>
- <node text="Deprecated (kotlin)"/>
- <node text="SinceKotlin (kotlin)"/>
- <node text="ParameterName (kotlin)"/>
- <node text="PublishedApi (kotlin)"/>
<node text="MyAnno (a)"/>
<node text="MyAnno2 (a)"/>
</node>
diff --git a/idea/tests/org/jetbrains/kotlin/idea/hierarchy/AbstractHierarchyWithLibTest.kt b/idea/tests/org/jetbrains/kotlin/idea/hierarchy/AbstractHierarchyWithLibTest.kt
index 029533b..8a790f6 100644
--- a/idea/tests/org/jetbrains/kotlin/idea/hierarchy/AbstractHierarchyWithLibTest.kt
+++ b/idea/tests/org/jetbrains/kotlin/idea/hierarchy/AbstractHierarchyWithLibTest.kt
@@ -50,7 +50,7 @@
TypeHierarchyTreeStructure(
project,
targetClass,
- HierarchyBrowserBaseEx.SCOPE_ALL)
+ if (folderName.contains("annotation")) HierarchyBrowserBaseEx.SCOPE_PROJECT else HierarchyBrowserBaseEx.SCOPE_ALL)
}, *filesToConfigure)
}