Senate Republican leadership is racing to lock down GOP votes for a massive two-year budget and debt ceiling deal that needs to pass before lawmakers leave for the August recess.

Sen. John Thune John Randolph ThuneSenate passes resolution reaffirming commitment to peaceful transition of power Susan Collins faces political land mine with Supreme Court fight Abortion stirs GOP tensions in Supreme Court fight MORE (R-S.D.), the No. 2 Republican senator, indicated on Tuesday that they didn't yet have a majority of Republicans on board to support the agreement but were working to get there before it gets a vote.

ADVERTISEMENT

"Well, we're in the process of working that vote. I'm hopeful and optimistic that when the time comes that we'll have the votes we need to get it done," Thune told reporters when asked if they would have the support of at least half the Republican conference.

The push to shore up Republican support for the two-year budget agreement, which also suspends the debt ceiling through mid-2021, comes after House Republicans defected in droves to oppose President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE's budget deal when it came up for a vote last week.

Sixty-five House Republicans supported the agreement, while 132 voted against it.

Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellTrump 'no longer angry' at Romney because of Supreme Court stance On The Money: Anxious Democrats push for vote on COVID-19 aid | Pelosi, Mnuchin ready to restart talks | Weekly jobless claims increase | Senate treads close to shutdown deadline The Hill's Campaign Report: Trump faces backlash after not committing to peaceful transition of power MORE (R-Ky.) stressed the need to pass the budget agreement as well as a final slate of nominations before the chamber leaves Washington until early September.

"Everybody understands what the list of items that need to be completed are, and we will do that before we leave. There will be no departure until we finish all the items on our agenda," McConnell told reporters during a weekly press conference on Tuesday.

Senate Appropriations Committee Chairman Richard Shelby Richard Craig ShelbySenate to push funding bill vote up against shutdown deadline Senate GOP eyes early exit Dems discussing government funding bill into February MORE (R-Ala.) said he thought the budget deal would pass but warned there would be "chaos" if it didn't.

Asked if it would be politically embarrassing for Trump if a majority of Republicans opposed a deal he had endorsed, Shelby demurred.

"Politically embarrassing? That's a strong word," he said. "I would wish all the Republicans would join in and all the Democrats, but that never happens. Would it be politically embarrassing? As long as we win it won't be embarrassing. If they fail to pass that bill, it would be a huge setback for everybody."

The Senate is expected to vote on the budget agreement as soon as Wednesday. Sixteen Republicans voted against a 2018 budget deal.

More than a dozen Senate Republicans have said they will vote against the current budget deal, with several others indicating they are leaning against it but haven't made up their minds.

Sen. Marco Rubio Marco Antonio RubioGOP lawmakers distance themselves from Trump comments on transfer of power McConnell pushes back on Trump: 'There will be an orderly transition' Graham vows GOP will accept election results after Trump comments MORE (R-Fla.) announced on Monday night that he was a no vote, saying, "In a town in which Republicans and Democrats can't agree on anything, the one thing they can agree on is running up the debt and spending a bunch of money."

Sen. John Kennedy John Neely KennedyMORE (R-La.) said on Tuesday that he was also a no vote because the agreement "continues our deficit spending without much of an effort, if any, to try to save money."