It wildly depends... On a lot of factors... IMHO. Near future to me could mean within the next month or 6 months.
The factors in considering is Iran war and weather Trump tries to gain a quick "win" over Cuba over his loss on Iran.
If Trump goes after Cuba shortly after Iran calms down. A month before things get truly "bumpy" in Europe.
If Trump doesn't go after Cuba. Than maybe 6 months or not at all. Putin is dumb. But he has enough smart people around him IMHO to make somewhat the right "calls."
If Putin or others around him think US to distracted and drawn out enough after Iran war, then Cuba... putin may move to test NATO rather quickly.
A LOT OF PEOPLE FORGET that Russia has since the start of the Ukraine war in 2014 been building up its modern and advanced weaponry, VERY well despite sanctions, by in large not using said advanced weaponry on Ukraine, rather building low tier tech trench warfare to fight Ukraine, while saving/building it's advanced stockpiles.
What Russia fights Ukraine with is not what Russia will fight NATO with, these two distinctions matter a whole lot in analysis when it comes to deterrence between the both. Russia has been building and stockpiling it's advanced weaponry and not using it all, all this time.
So while Russia's trench warfare capabilities are drawn out it's high tech or more advanced weaponry has been building and stockpiling since the start of war. NATO leadership must be aware of this especially if I'm aware of it. SO...
This isn't some disproportionate battlefield statistic, Russia can absolutely most likely still hold toe to toe in an initial conflict with NATO as Russia has spared, stockpiled, and built up most of its advanced weaponry while not using it in Ukraine, saving it as a deterrent to NATO.
BUT I WOULDN'T EXPECT MOST to know this since Western media likes to talk a lot of crap about Russia. Me included. Guilty... But sadly it's not all true....

So the battlefield isn't as lopsided as many like to think & the leaders all know this.
With Trump being so wishy washy on the NATO alliance, that also gives more 'juice" so to speak to any Russian planners on the probability or outcome of testing NATO.
Which in my opinion generates great risk because just because the United States won't defend NATO at least publicly leaves a lot of ambiguity because there are still other NATO members who can besides the United States.
Not only that even if the United States was unwilling to defend NATO we have a bunch of troops in NATO and if Russia were to attack NATO any US troops caught in cross fire will automatically drag us in.