Skip to content

Commit 54f2d34

Browse files
authored
DEV: skip flakey spec (#955)
This spec fails inconsistently with: -fragment-n14 +You are a helpful Discourse assistant. +You _understand_ and **generate** Discourse Markdown. +You live in a Discourse Forum Message. + +You live in the forum with the URL: http://test.localhost +The title of your site: test site title +The description is: test site description +The participants in this conversation are: joe, jane +The date now is: 2024-11-25 20:23:02 UTC, much has changed since you were trained. + +You were trained on OLD data, lean on search to get up to date information about this forum +When searching try to SIMPLIFY search terms +Discourse search joins all terms with AND. Reduce and simplify terms to find more results.<guidance> +The following texts will give you additional guidance for your response. +We included them because we believe they are relevant to this conversation topic. + +Texts: + +fragment-n10 +fragment-n9 +fragment-n8 +fragment-n7 +fragment-n6 +fragment-n5 +fragment-n4 +fragment-n3 +fragment-n2 +fragment-n1 +</guidance>
1 parent 616b990 commit 54f2d34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/lib/modules/ai_bot/personas/persona_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ def stub_fragments(limit, expected_limit: nil)
444444
end
445445

446446
it "uses the re-ranker to reorder the fragments and pick the top 10 candidates" do
447+
skip "This test is flaky needs to be investigated ordering does not come back as expected"
447448
expected_reranked = (0..14).to_a.reverse.map { |idx| { index: idx } }
448449

449450
WebMock.stub_request(:post, "https://test.reranker.com/rerank").to_return(

0 commit comments

Comments
 (0)