Description: Skip clangd alreadyresolved test if too slow
 Most architectures run this test just fine, but Upstream considers this
 test already flaky applying a WithRetry to it, which re-runs the rest 20
 times. That tends to be enough even for the slower architectures like
 armel, but not always, and so this test is too flaky to be used.
 .
 I keep it enabled for machines identifying as x86_64 through so it is
 run at least somewhere completely and of course every architecture can
 be (more or less) lucky and succeed the first time.
 .
 Ideally upstream would resolve the underlying problem through.
Author: David Kalnischkies <donkult@debian.org>
Forwarded: not-needed

--- a/ycmd/tests/clangd/subcommands_test.py
+++ b/ycmd/tests/clangd/subcommands_test.py
@@ -1234,7 +1234,14 @@
                               BuildRequest( **request ) ).json
     print( 'expected = ' )
     print( expected )
-    request[ 'fixit' ] = expected[ 'fixits' ][ 0 ]
+    try:
+      request[ 'fixit' ] = expected[ 'fixits' ][ 0 ]
+    except IndexError:
+      import platform
+      if platform.machine() == 'x86_64':
+        raise
+      print( '@NotDebian: Fails sometimes even with a lot of retrying (done by upstream) on slower archs (e.g. armel)' )
+      return
     actual = app.post_json( '/resolve_fixit',
                             BuildRequest( **request ) ).json
     print( 'actual = ' )
